Webalizer log -- finally (Sorta?) figured out?

Gerald Combs gerald at ethereal.com
Sun Jan 25 16:02:44 CST 2004


Bradley Miller wrote:
> To clarify that -- the script goes under each web site's location.   So
> 
>  /home/sites/company1/logs/analyze.sh
>  /home/sites/company2/logs/analyze.sh
>  /home/sites/company2/logs/analyze.sh
> 
> And the log file would be read like this:
> 
>  /home/sites/company/logs/2003/11/access.01 - day 1, november, 2003
>  /home/sites/company/logs/2003/11/access.02 - day 2, november, 2003

I use a similar log layout, except I resolve (using adnslogres) and
compress my logs before feeding them to webalizer, giving me something
like this:

  /path/to/logs/2004/01/resolved.20040101.gz
  /path/to/logs/2004/01/resolved.20040102.gz

I have "LogFile -" specified in webalizer.conf so that it reads log data
from stdin.  This lets you feed it log data using a pipe:

  zcat /path/to/logs/2004/01/resolved.*.gz | webalizer -c     /path/to/webalizer.conf




More information about the Kclug mailing list