That worked, you are a hero, thank you very much...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aengus
Sent: July 29, 2004 3:27 AM
To: [EMAIL PROTECTED]
Subject: Re: [analog-help] Strange Logfile format


On Wednesday, July 28, 2004 11:40 PM [GMT],
System Administrator <[EMAIL PROTECTED]> wrote:

> I've added three lines from the start of my dubious logfile; 
> 65.54.164.40 - - [08/jul/2004:03:07:39 -0600] "get /stanns/index.html 
> http/1.0" 404 211 404 211 - - 196 168 295 208 0 "" "msnbot/0.11 
> (+http://search.msn.com/msnbot.htm)"
> 66.194.6.83 - - [08/jul/2004:05:58:28 -0600] "get / http/1.1" 200 3549 
> > - -
> - - 108 272 - - 0 "" "mozilla/4.0 (compatible; msie 6.0; windows nt 
> 5.1; q312467)" 24.14.151.202 - - [08/jul/2004:13:29:04 -0600] "get / 
> http/1.1" 200 3549 200 3549 - - 437 246 551 272 0 "" "mozilla/4.0  
> (compatible; msie 6.0; windows nt 5.1; .net clr 1.0.3705; .net clr 
> 1.1.4322; alexa toolbar)"

This LOGFORMAT parses the lines you posted:
LOGFORMAT (%S - %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b %j"%f" "%B")

(There was an extra space in the one I suggested last week when you asked
the same question).

Aengus

+-----------------------------------------------------------------------
+-
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+-----------------------------------------------------------------------
+-

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004
 

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to