/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-01 / What prep for pound logs for use in Webalizer

[ << ] [ >> ]

[ RE: [Pound Mailing List] 2.0 Release / ... ] [ pound 2.0b6 crashes when accessed / Jeffrey Brown ... ]

What prep for pound logs for use in Webalizer
"Jamie Robe" <robej(at)plancom.org>
2006-01-23 16:54:31 [ FULL ]
I noticed a 2003 thread about using Webalizer to analyze logs produced
by Pound. 
[...]
[...]

Not sure what this meams :-)

Can anyone explain what I really need to do to implement this. I would
like to run a cron job on my Pound box in middle of night to produce the
html pages. I am set at level 3 logging and I can see the log reports in
the daemon and syslog files. Which is better to use, etc.

Thanks!
Attachments:  
text.html text/html 1311 Bytes

Re: [Pound Mailing List] What prep for pound logs for use in Webalizer
Robert Segall <roseg(at)apsis.ch>
2006-01-23 17:44:22 [ FULL ]
On Mon, 2006-01-23 at 10:54 -0500, Jamie Robe wrote:[...]

Have a look at
http://www.apsis.ch/pound/pound_list/archive/2005/2005-09/1125580698000/1126884985000#1126884985000
for an example of how to set up your syslog for separate logging.

Once you have your log something like

cut -f 7- -d ' ' < /var/log/pound.log > webalizer.input

should give you the log file part that is suitable for Webalizer input.

If you really want the logs without separation you could do

fgrep pound /var/log/daemon.log | cut -f 7- -d ' ' > webalizer.input

Hope this helps.[...]

MailBoxer