Try awstats Neal http://www.susediary.com On Thursday 11 March 2004 08:54, Andreas Wagner wrote:
Hello Eric, hello list,
* Eric Kahklen wrote on Mar/11/2004:
I am looking for the easiest package that works well with SuSE to parse logs. I'd like to keep track of the typical logs as well as logs for Postfix and Squid. Can anyone recommend some good packages and possible "how tos" for setting it up? My eyes are getting rather tired of walking through each file manually.
Thanks,
Eric
I am using logdigest [1]
configuration files are as follows:
- /etc/logdigest/config: LOGFILES="/var/log/messages /var/log/mail /var/log/firewall" SYSADMIN=root EXTENDED_STATS=yes
- /etc/logdigest/alarming.local: alert:
- /etc/logdigest/ignore.local: Inspecting /boot/System.map-2\.4\.18-4GB Symbol version prefix Virus Scanner will process message spamd\[.*\]: identified spam
etc. Remember that these are regex's. this is the bit that needs some tuning. My ignore.local has some 3kb... I am not sure how well this will handle squid logs, but I am very satisfied with how it handles postfix, iptables, cron and other standard logs.
[1] http://www.suse.de/en/private/products/suse_linux/i386/packages_professiona l/logdigest.html
HTHH, Andreas
-- Science is everything we understand well enough to explain to a computer. Art is everything else. - David Knuth
-- My Public PGP Keys: 1024 Bit DH/DSS: 0x869F81BA 768 Bit RSA: 0x1AD97BA5