Search This Blog

Saturday, June 21, 2008

SARG

Squid Analysis Report Generator

The squid access log is stored in (in a Fedora Core 8 Linux system)

/var/log/squid/access.log

The sarg access log reports are generated in

/var/www/sarg/

The command to generate of usage between two dates for a particular user is (assuming that the date is set to US standard in the system) :

$sarg -d 06/01/2008-06/21/2008 -u username

The command to generate a report using sarg is:
sarg -l /var/log/squid/access.log 

No comments: