Tuesday, February 8, 2011

Converting Log file into *.csv.

To convert logs into csv file.

cat /var/log/squid/access.log | awk -F\ '{ print strftime("%D", $1),$0;}'
| grep 192\.168\.60\.52 > /opt/logs.csv

No comments:

Post a Comment

SEO TOOLS

Check Page Rank of your Web site pages instantly:

This page rank checking tool is powered by Page Rank Checker service