[analog-help] Unix time stamp (%U) has 13 characters

Jeremy Wadsack jeremy at 7simplemachines.com
Fri Aug 24 08:33:24 PDT 2007


You can use the UNCOMPRESS command to tell Analog to run any pre-processor on each log file.

	UNCOMPRESS * "perl -npe 's/^(#[^#]*#[^#]*#\d+)(\d\d\d#.*)$/\1.\2/'"

http://analog.cx/docs/logfile.html#UNCOMPRESS


--
 
Jeremy Wadsack
Seven Simple Machines


> -----Original Message-----
> From: analog-help-bounces at lists.meer.net [mailto:analog-help-
> bounces at lists.meer.net] On Behalf Of Sebastian Fromme
> Sent: Friday, August 24, 2007 5:24 AM
> To: KlausRusch at atmedia.net; Support for analog web log analyzer
> Subject: Re: [analog-help] Unix time stamp (%U) has 13 characters
> 
> Hi Klaus,
> 
> thanks for quick reply.
> 
> Where I can do the customizing and how?
> 
> Regards,
> Sebastian
> 
> PS: you have a nice homepage.
> 
> > -----Ursprüngliche Nachricht-----
> > Von: KlausRusch at atmedia.net, Support for analog web log analyzer
> <analog-help at lists.meer.net>
> > Gesendet: 23.08.07 10:36:59
> > An: Support for analog web log analyzer <analog-help at lists.meer.net>
> > Betreff: Re: [analog-help] Unix time stamp (%U) has 13 characters
> 
> 
> >
> > frommi.nol at web.de wrote:
> > > I am using analog to evaluate SAP J2EE engine log files. Unfortunately
> it seems to be impossible to get the unix time stamp from the 13 character
> string. It seems that they add ms without '.' to the time stamp. Do you
> have any ideas?
> > >
> > You will need to customize analog to recognize an additional timestamp
> > format with milliseconds, or preprocess the log files to separate or
> > strip the milliseconds, something like
> >
> > perl -npe 's/^(#[^#]*#[^#]*#\d+)(\d\d\d#.*)$/\1.\2/'
> >
> > --
> > Klaus Johannes Rusch
> > KlausRusch at atmedia.net
> > http://www.atmedia.net/KlausRusch/
> >
> > +-----------------------------------------------------------------------
> -
> > |  TO UNSUBSCRIBE from this list:
> > |    http://lists.meer.net/mailman/listinfo/analog-help
> > |
> > |  Analog Documentation: http://analog.cx/docs/Readme.html
> > |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> > |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> > +-----------------------------------------------------------------------
> -
> >
> 
> --
> Sebastian Fromme
> Altkaditz 32
> 01139 Dresden
> 
> T  +49/351/8474305
> M +49/151/17638560
> F  +49/1212/5-114-27-919
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
> 
> 
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------



More information about the analog-help mailing list