[analog-help] LOGFORMAT Command - Help

Dan Agnew dmagnew at gmail.com
Thu Sep 27 08:11:21 PDT 2007


Hope some one could take the time to help with a LOGFORMAT issue:

I’ve download my logfiles from my linux hosting server, which are in a
modified format:


<logfile>

ctsukl.com: [25/Sep/2007:11:45:16 +0100] 66.249.16.212 - - "GET / HTTP/1.1"
403 210 "http://whois.domaintools.com/ctsukl.com" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-GB; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"

ctsukl.com: [25/Sep/2007:13:02:12 +0100] 64.233.166.136 - - "GET
/service.html HTTP/1.0" 404 218 "-" "Jakarta Commons-HttpClient/3.0.1"

ctsukl.com: [25/Sep/2007:13:02:12 +0100] 64.233.166.136 - - "GET
/service.html HTTP/1.0" 404 218 "-" "Jakarta Commons-HttpClient/3.0.1"

</logfile>

 

So have tried to create a LOGFORMAT command in analog.cfg which now looks
like this:

 

LOGFORMAT (%S : [%d/%M/%Y:%h:%n:%j %j] %s - - " %j %r %j" %c %b "%f" "%b")

LOGFILE C:\user\logfiles\ex070926.log

OUTFILE C:\user\analog\reports\Report.html

HOSTNAME "[MyHost]"

 

When analog runs I get the following warning – “Warning F: Can't auto-detect
format of  logfile C:\user\logfiles\ex070926.log: ignoring it” een though
I’ve tried to specifiy a logformt command.

 

Any help much appreciated 

 

 

 

Dan Agnew

 

Email / dmagnew at gmail.com


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.13.32/1032 - Release Date: 26/09/2007
20:20
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.meer.net/pipermail/analog-help/attachments/20070927/def539a4/attachment.html


More information about the analog-help mailing list