[squid-users] An access analyzer that works with Squid

From: Maciej Zięba <finch@dont-contact.us>
Date: Wed, 15 Feb 2006 19:54:25 +0100

Hi :)

I'm looking for a (log) analyzer that can give me the access/traffic
statistics of an Apache webserver that Squid is accelerating. More
precisely - I need seperate stats for each virtual host that runs on the
webserver.

I think it would be the best if I present the situation more closely... :)

I have an Apache webserver running on port 81 which has a couple of
vhosts (some of them are Zope instances, but I don't think that it
matters) and it is accelerated by Squid running on the same machine, on
port 80. As I've already said - I need statistics for each vhost and not
for all of them.

As I understand I cannot use the Apache main access_log and the logs of
vhosts because not all requests reach them (Squid caches and accelerates
contents that hasn't changed), so I'm left with Squid's access.log (all
traffic passes through Squid). Is my reasoning correct?

Anyhow, previously (before we used Squid) my company has used Webalizer
to parse the Apache's logs (main and vhosts') but it hasn't been
developed for over 3 years and as I've mentioned we can't use those logs
anymore...

I've come over AWStats and thought it would be a good choice.
Unfortunatelly all I can do is get stats of the entire Apache and not
the vhosts. That's because it's impossible for it to get virtual host's
name from Squid's access.log (neither in native, nor in common format).
I've found this patch that would solve my problem by enabling custom
logformat:

http://devel.squid-cache.org/customlog/

but I cannot use it and I cannot install the development Squid 3 - it's
company's semi-production machine and has to be stable :(

Is there some other way I can get AWStats running?

Or maybe you could recommend some other good tool for generating
statistics (HTML with things like graphs, most visited sites, etc.) from
squid's logs?

I'm sorry for the lenghty e-mail. I hope someone can give me pointers -
I'll be very grateful for any...

Umm... And please excuse my not-so-good English :|

Best regards,
Maciej Zieba
Received on Wed Feb 15 2006 - 11:54:22 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST