Re: [squid-users] How to exclude some ip addresses from squid access log.

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 10 Dec 2008 13:34:20 -0900

Indunil Jayasooriya wrote:
> Hi Everyone,
>
> I have the need of monitoring squid web browsing . So I am going to
> use sarg. It usually shows all the ip addresses.
> I want to excldue ip addresses of some managers from sarg.
>
> So , I think If I can exclude those ips from squid access.log, It
> would be a solution.
>
> and also, Can I exclude ftp access to some ip addresses?
>
> Pls grant your advice.
>

 From the default sarg.conf:

# TAG: exclude_hosts file
# Hosts, domains or subnets will be excluded from reports.
#
# Eg.: 192.168.10.10 - exclude ip address only
# 192.168.10.0 - exclude full C class
# s1.acme.foo - exclude hostname only
# acme.foo - exclude full domain name
#

Also:

# TAG: exclude_string
"string1:string2:...:stringn"

# Records from access.log file that contain one of listed strings
will be ignored.
#

One of those should work.

Chris
Received on Wed Dec 10 2008 - 22:34:30 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 11 2008 - 12:00:02 MST