Search squid archive

Re: how to decode date and time in access.log

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

 



> 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 moment to look at access.log and to translate me date and time.
> I dont need any sort function , for example, just if want to find who
> was using the net 3 hous ago just by looking at log file.
> 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;

  M.


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

  Powered by Linux