Hello Jake,

in /etc/cron.hourly create a file called squid.cron (or anything) and add
this line to it

#!/bin/bash
cd /var/log/squid
cat access* | /usr/local/bin/webalizer -F squid -o
/var/www/html/webstats/ -A 100 -C 100 -R 100 -S 100 -U 100 -e 100 -E 100 -Q

I think this was a standard compile from source code. I can't see that I
have change any options in the .conf file. You will also need to create a
directory called /var/www/html/webstats/

This should also keep the history e.g. : Jan,Feb,Mar

Cheers,

Pieter De Wit


----- Original Message -----
From: "Jake Colman" <[EMAIL PROTECTED]>
To: "RedHat List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 6:14 PM
Subject: Using Webalizer for Squid Logs


>
> I see that Webalizer has native support for squid logfiles.  Great!  So
how
> do I go about generating webalizer output of those logs?  I know this is a
> real newbie question but I don;t even know where to look for an answer!
>
> TIA!
>
> --
> Jake Colman
>
> Principia Partners LLC                  Phone: (201) 946-0300
> Harborside Financial Center               Fax: (201) 946-0320
> 902 Plaza Two                          E-mail: [EMAIL PROTECTED]
> Jersey City, NJ 07311                  www.principiapartners.com
>
>
>
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to