Aengus

Missed the ":".

Many Thanks

Regards

Andrew

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aengus
Sent: 12 September 2005 22:29
To: Support for analog web log analyzer
Subject: Re: [analog-help] Problems with log format?

On Monday, September 12, 2005 5:11 PM [EDT],
Andrew Hancock <[EMAIL PROTECTED]> wrote:

>> I've been struggling with the logformat for days, the hosting
>> provider uses Apache, but will not give me the details in the
>> configuration file, because they want me to purchase Matrix Stats
>> for my website, but this is too costly.
>>
>> This is a sample of the log file:-
>>
>> andysworld.org.uk: [12/Sep/2005:20:13:44 +0100] 207.46.98.30 - - "GET
>> /angelfishcam/multicams.html HTTP/1.0" 200 3083 "-" "msnbot/1.0
>> (+http://search.msn.com/msnbot.htm)"
>>
>> I can understand the above, but cannot get the format correct for the
>> Logformat or ApaceLogformat correctly.
>>
>> andysworld.org.uk is the virtual host. I think %v, I thought the
>> format was APACHELOGFORMAT (%v %t %h %l %u \"%r"\ %>s %b), but
>>
>> could not get this to work correctly.

There's a : at the end of your virtual host.

LOGFORMAT (%v: [%d/%M/%Y:%h:%n:%j] %s %j %j "%j %r %j" %c %b "%j" "%B")

will parse your sample line. That last "%j" might be the referrer, but I
can't tell from your example.

There's no point in using APACHELOGFORMAT unless you can copy it straight
from your httpd.conf file. If you have to figure it out by looking at the
log entries, it's probably easier to stick with Analogs standard LOGFORMAT
syntax.

Aengus

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------


+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to