Re: [squid-users] Any recommended squid log analyzer?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 06 Sep 2010 22:57:43 +0000

On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chen <kaiwang.chen_at_gmail.com>
wrote:
> Hello,
>
>
> Looks like awstats.pl cannot recognize "squid" logformat from
> squid3.1.6, as pointed out by LogFormat in awstats.mysite.conf
> # Possible values: 1,2,3,4 or "your_own_personalized_log_format"
> # 1 - Apache or Lotus Notes/Domino native combined log format (NCSA
> combined/XLF/ELF log format)
> # 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA.
> # 3 - Webstar native log format.
> # 4 - Apache or Squid native common log format (NCSA common/CLF log
format)
>
> Its capability for customization is also too limited to understand
> logformat directives in squid.conf.documented, such as %tr.
>
> So any recommendation?

Maybe an apache-format log just for awstats?
 access_log /var/logs/squid-awstats.log common

We used awstats.pl for the wiki.squid-cache.org website under 3.0 and IIRC
early 3.1 releases before the log server sponsorship dropped. The native
'squid' format has not been changed since 2.6. Just the text held in some
fields has been extended.

Amos
Received on Mon Sep 06 2010 - 22:57:46 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 07 2010 - 12:00:01 MDT