[squid-users] RE : [squid-users] Date/Time Format

From: Grante Yannick <yannick.grante@dont-contact.us>
Date: Thu, 5 Dec 2002 14:34:13 +0100

Create a script with this

#! /usr/bin/perl -p
s/^\d+\.\d+/localtime $&/e;

cat access.log | < name_of_the_script >

GRANTE Yannick
UNIVERSITE DE ROUEN
S.C.R.I.R. Réseaux
Place Emile Blondel 76821 MONT-SAINT-AIGNAN Cedex 20
Tel. 02-35-14-00-23
FAX 02-35-14-68-08
 

 

-----Message d'origine-----
De : Wong, Sherman [mailto:shermanw@catalinaasia.com]
Envoyé : mercredi 4 décembre 2002 08:37
À : squid-users
Objet : [squid-users] Date/Time Format

Hi,

I am using squdalyser for log analysis.
Unfortunately, I can only get the backend working.
The front end uses gd library that I can't get it right.
However, even only with the back end, I find it good enough.

One question about the time format is, the back end
capture the time like 1038965632.000 I believe this is captured
right out from access.log.

How do I get the right date time out of it ??

Regards,
Sherman
Received on Thu Dec 05 2002 - 06:34:28 MST

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