Search squid archive

Re: How to exclude some ip addresses from squid access log.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



acl src_ip_me src 1.1.1.1/32
log_access deny src_ip_me


--- On Thu, 12/11/08, Chris Robertson <crobertson@xxxxxxx> wrote:

> From: Chris Robertson <crobertson@xxxxxxx>
> Subject: Re:  How to exclude some ip addresses from squid access log.
> To: "squid-users" <squid-users@xxxxxxxxxxxxxxx>
> Date: Thursday, December 11, 2008, 2:34 AM
> 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


      

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux