RE: [squid-users] Filtering access.log

From: Momen, Mazdak <MMomen_at_cvent.com>
Date: Wed, 11 Jan 2012 23:49:44 +0000

Thanks, looking into it though I think I'm limited by the way I can set up ACLs. Here is what I'm trying to filter:

1326325020.543 0 *.*.*.* NONE/400 3502 GET / - NONE/- text/html

The starred IP, is the same for every request (all requests pass through a load balancer). I don't want filter out by that IP but maybe by the string of text "GET / - NONE/-". Would this be possible?
 

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Wednesday, January 11, 2012 5:37 PM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Filtering access.log

On 12.01.2012 09:30, Momen, Mazdak wrote:
> We have a couple of common requests we would like to not have logged
> in our access.log file to save space. Is there a way to filter the
> access.log through the squid.conf?

Several ways:

* using ACL on the individual log output:
   http://www.squid-cache.org/Doc/config/access_log/

* using ACL on all access log outputs:
   http://www.squid-cache.org/Doc/config/log_access/

Amos
Received on Wed Jan 11 2012 - 23:49:50 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 12 2012 - 12:00:02 MST