On Sun, Sep 12, 2004 at 07:31:40PM -0700, [EMAIL PROTECTED] wrote:
What kind of strategies do you use for integrating squid logs into your
apache logs for webalizer or AWstats analysis. My squid box is going to
be on a separate box, so I'll have to copy logs over I assume.
You probably use logrotate (or something similar) anyway to create new
logs every day. Why not start a cron job to process the logs on the
statistics machine.
Batch way:
Use "scp" to copy over the files. If you use public-key authentication
for a user and just leave the passphrase empty you can have the copy
process being done automatically and without interaction. Like this:
$ scp [EMAIL PROTECTED]:/var/log/squid/access.log.1 .
And then the report generator on acces.log.1
I think I'll use scp to shoot the logs over to the apache server where
webalizer is running. Does anyone know how to configure webalizer to
analyse multiple log files? i.e. the httpd log & the squid log.
thanks,
devin