Henk-Jan Squid maillijst wrote:
>
> Could someone share his webalizer 2.00 .conf file with me?
>
> I saw in the doc file that it supports natice squi log files, is that
> correct?
>
> Do you run it from the crontab? or from the website?
>
> Any tips would be great!
>
> Henk-Jan
>
> --
Hi,
I run webalizer 2.00 to gather statistics from squid this is the
information
I think you need:
--------------
#crontab -l
15 1 * * * /usr/local/root/cron/crea_webalizer >/tmp/webalizer.err.$$
2>&1
-----------------------
# cat /usr/local/root/cron/crea_webalizer
#!/bin/bash
WZ=/usr/local/webalizer
$WZ/bin/webalizer -c $WZ/etc/squid.conf
-------------------------------
# cat /usr/local/webalizer/etc/squid.conf|grep -v "#"|grep -v "^$"
LogFile /usr/local/squid/logs/access.log.0
LogType squid
OutputDir /usr/local/apache/htdocs/webalizer
HistoryName webalizer.hist
Incremental yes
IncrementalName webalizer.current
ReportTitle Estadísticas de uso del proxy
HTMLExtension html
PageType htm*
PageType cgi
Quiet yes
TimeMe yes
CountryGraph no
TopSites 10
TopKSites 10
TopURLs 10
TopKURLs 10
TopReferrers 0
TopAgents 0
TopCountries 0
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.png
HideURL *.PNG
HideURL *.ra
GroupDomains 2
SearchEngine yahoo.com p=
SearchEngine altavista.com q=
SearchEngine google.com q=
SearchEngine eureka.com q=
SearchEngine lycos.com query=
SearchEngine hotbot.com MT=
SearchEngine msn.com MT=
SearchEngine infoseek.com qt=
SearchEngine webcrawler searchText=
SearchEngine excite search=
SearchEngine netscape.com search=
SearchEngine mamma.com query=
SearchEngine alltheweb.com query=
SearchEngine northernlight.com qr=
-------------------------------------------------
As you can see I run webalizer with the access_log of squid after rotate
it, I think webalizer recommends to process a closed log.
I think you don't need anything else, if you want to see the output go
to
http://proxy-cache.uji.es:8080/webalizer
-- Enrique Galdú mailto:galdu@si.uji.es Servei d'Informātica Universitat Jaume I Tel: +34 - 964 72 9085 -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Aug 18 2000 - 06:09:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:55 MST