Tuesday, December 25, 2007

Using Sarg to convert Squid dates/time to readable form

Squid uses unix style date/times in its logs, which isn't human readable.

You can use SARG to convert these into regular dates and times:

1 - cd into the sarg logs directory:

cd /applications/sarg/logs

2 - run the command

/applications/sarg/bin/sarg -convert access.log > friendlydates.access.log

No comments: