Re: [squid-users] Getting deep into log files...

From: Isamp <isamp@dont-contact.us>
Date: Thu, 29 Nov 2001 14:02:06 -0200

Or, try this:

perl -pe 's/\d+/localtime($&)/e' access.log 1> access.log.new

----- Original Message -----
From: "Boniforti Flavio" <boniforti.f@co-ver.it>
To: <squid-users@squid-cache.org>
Sent: Thursday, November 29, 2001 10:28 AM
Subject: [squid-users] Getting deep into log files...

> Hello there!
>
> I want to check my LOG file to find out which IPs connected to my proxy
> after a certain hour.
>
> Is it possible???
>
> May I sort a copy of my yesterday access log (I've got daily rotations) by
> time and get the info I need??? Ah, BTW: time would be better viewed in a
> "human redable" format! :-)
>
> Thanx
>
>
> Boniforti Flavio
> Informa Srl
> Via 42 Martiri, 165
> 28924 Verbania (VB)
> Tel +39 0323 586216
> Fax +39 0323 586672
> http://www.co-ver.it/informa
>
>
>
>
Received on Thu Nov 29 2001 - 09:27:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:43 MST