[squid-users] how to decode date and time in access.log

2006-03-06 Thread Pavel M. Ivanchev
Hi people! I was looking for any "live " squid access.log analyzer but i didn't find anythig. I want somehow to parse access.log or to find the way to decode source address, destination address and date and time. Anyway I use sarg for monthly reports, but i need something that i can use at any

Re: [squid-users] how to decode date and time in access.log

2006-03-06 Thread Mark Elsen
> Hi people! > I was looking for any "live " squid access.log analyzer but i didn't > find anythig. > I want somehow to parse access.log or to find the way to decode source > address, destination address and date and time. > Anyway I use sarg for monthly reports, but i need something that i can > u

Re: [squid-users] how to decode date and time in access.log

2006-03-06 Thread Henrik Nordstrom
mån 2006-03-06 klockan 11:16 +0100 skrev Mark Elsen: > > access.log is quite nice but the problem is the date and time format > > > > Thank U > > > >#! /usr/bin/perl -p > s/^\d+\.\d+/localtime $&/e; aka http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6 Regards Henrik