volcom
(usa Debian)
Enviado em 21/12/2009 - 10:30h
ACho que a melhor forma é usando as opções do próprio Sarg:
sarg -help
sarg: Usage [options...]
-a Hostname or IP address
-b Useragent log
-c Exclude file
-d Date from-until dd/mm/yyyy-dd/mm/yyyy
-e Email address to send reports (stdout for console)
-f Config file (/etc/squid/sarg.conf)
-g Date format [e=Europe -> dd/mm/yy, u=USA -> mm/dd/yy]
-h Help (this...)
-i Reports by user and IP address
-l Input log
-n Resolve IP Address
-o Output dir
-p Use Ip Address instead of userid (reports)
-s Accessed site [Eg.
www.microsoft.com,
www.netscape.com]
-t Time [HH, HH:MM]
-u User
-w Temporary dir
-x Process messages
-z Debug messages
-convert Convert the access.log file to a legible date
-split Split the log file by date in -d parameter
sarg-2.2.5 Mar-03-2008 by Pedro Lineu Orso - pedro.orso@gmail.com
http://sarg.sourceforge.net
Pease donate to the sarg project:
http://sarg.sourceforge.net/donations.php