Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Analog: Help

Log

 

 

Analog help RSS feed   Index | Next | Previous | View Threaded


gsg at gosall

Feb 20, 1999, 5:12 AM

Post #1 of 6 (201 views)
Permalink
Log

Hello.

Does anyone have the correct LOGFORMAT command to deal with Demon Internet's
Native Log Format? Thanks.

GS Gosall.


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


jason at summary

Feb 20, 1999, 8:48 AM

Post #2 of 6 (194 views)
Permalink
Log [In reply to]

On 2/20/99 8:12 AM GS Gosall (gsg [at] gosall) wrote:

>Does anyone have the correct LOGFORMAT command to deal with Demon Internet's
>Native Log Format? Thanks.

Could you post the first several lines of the log to the list? Then we
should be able to figure out a LOGFORMAT command for you.

Jason

-----------------
Jason [at] Summary
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


gsg at gosall

Feb 20, 1999, 9:30 AM

Post #3 of 6 (191 views)
Permalink
Log [In reply to]

Thanks for your prompt reply. At the end of this message I've posted lines
from two parts of the log file.

Gurpal.

>
> >Does anyone have the correct LOGFORMAT command to deal with
> Demon Internet's
> >Native Log Format? Thanks.
>
> Could you post the first several lines of the log to the list? Then we
> should be able to figure out a LOGFORMAT command for you.
>
> Jason

www.last-minute-software.co.uk gosall.demon.co.uk - - [19/Feb/1999:23:33:25
+0000] "GET / HTTP/1.1" 200 672 "Mozilla/4.0 (compatible; MSIE 4.01; Windows
98)" "-" "-"
www.last-minute-software.co.uk gosall.demon.co.uk - - [19/Feb/1999:23:33:26
+0000] "GET /buttons.htm HTTP/1.1" 200 1978 "Mozilla/4.0 (compatible; MSIE
4.01; Windows 98)" "http://www.last-minute-software.co.uk/" "-"
www.last-minute-software.co.uk gosall.demon.co.uk - - [19/Feb/1999:23:33:27
+0000] "GET /images/back2.gif HTTP/1.1" 200 8499 "Mozilla/4.0 (compatible;
MSIE 4.01; Windows 98)" "http://www.last-minute-software.co.uk/buttons.htm"
"-"
www.last-minute-software.co.uk gosall.demon.co.uk - - [19/Feb/1999:23:33:27
+0000] "GET /home.htm HTTP/1.1" 200 3395 "Mozilla/4.0 (compatible; MSIE
4.01; Windows 98)" "http://www.last-minute-software.co.uk/" "-"
cgi.www.last-minute-software.co.uk gosall.demon.co.uk - -
[19/Feb/1999:23:33:27 +0000] "GET
/cgi-bin/www.last-minute-software.co.uk/Count.cgi?df=datafile HTTP/1.1" 200
3980 "Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)"
"http://www.last-minute-software.co.uk/home.htm" "-"
www.last-minute-software.co.uk gosall.demon.co.uk - - [19/Feb/1999:23:33:29
+0000] "GET /images/home.gif HTTP/1.1" 200 745 "Mozilla/4.0 (compatible;
MSIE 4.01; Windows 98)" "http://www.last-minute-software.co.uk/buttons.htm"
"-"

www.last-minute-software.co.uk userc478.uk.uudial.com - -
[20/Feb/1999:09:20:34 +0000] "GET / HTTP/1.1" 200 672 "Mozilla/4.0
(compatible; MSIE 4.01; MSN 2.5; Windows 98)"
"http://www.last-minute-software.co.uk"
"MC1=GUID=b100330e73d211d283a200805fe2135d;
SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"
www.last-minute-software.co.uk userc478.uk.uudial.com - -
[20/Feb/1999:09:20:36 +0000] "GET /buttons.htm HTTP/1.1" 200 1978
"Mozilla/4.0 (compatible; MSIE 4.01; MSN 2.5; Windows 98)"
"http://www.last-minute-software.co.uk"
"MC1=GUID=b100330e73d211d283a200805fe2135d;
SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"
www.last-minute-software.co.uk userc478.uk.uudial.com - -
[20/Feb/1999:09:20:36 +0000] "GET /images/back2.gif HTTP/1.1" 200 8499
"Mozilla/4.0 (compatible; MSIE 4.01; MSN 2.5; Windows 98)"
"http://www.last-minute-software.co.uk/buttons.htm"
"MC1=GUID=b100330e73d211d283a200805fe2135d;
SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"
www.last-minute-software.co.uk userc478.uk.uudial.com - -
[20/Feb/1999:09:20:37 +0000] "GET /home.htm HTTP/1.1" 200 3379 "Mozilla/4.0
(compatible; MSIE 4.01; MSN 2.5; Windows 98)"
"http://www.last-minute-software.co.uk"
"MC1=GUID=b100330e73d211d283a200805fe2135d;
SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"
cgi.www.last-minute-software.co.uk userc478.uk.uudial.com - -
[20/Feb/1999:09:20:37 +0000] "GET
/cgi-bin/www.last-minute-software.co.uk/Count.cgi?df=datafile HTTP/1.1" 200
2134 "Mozilla/4.0 (compatible; MSIE 4.01; MSN 2.5; Windows 98)"
"http://www.last-minute-software.co.uk/home.htm"
"MC1=GUID=b100330e73d211d283a200805fe2135d;
SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


jason at summary

Feb 20, 1999, 10:45 AM

Post #4 of 6 (194 views)
Permalink
Log [In reply to]

On 2/20/99 12:30 PM GS Gosall (gsg [at] gosall) wrote:

>Thanks for your prompt reply. At the end of this message I've posted lines
>from two parts of the log file.
>
>Gurpal.
>
>>
>> >Does anyone have the correct LOGFORMAT command to deal with
>> Demon Internet's
>> >Native Log Format? Thanks.
>>
>> Could you post the first several lines of the log to the list? Then we
>> should be able to figure out a LOGFORMAT command for you.
>>
>> Jason
>
>cgi.www.last-minute-software.co.uk userc478.uk.uudial.com - -
>[20/Feb/1999:09:20:37 +0000] "GET
>/cgi-bin/www.last-minute-software.co.uk/Count.cgi?df=datafile HTTP/1.1" 200
>2134 "Mozilla/4.0 (compatible; MSIE 4.01; MSN 2.5; Windows 98)"
>"http://www.last-minute-software.co.uk/home.htm"
>"MC1=GUID=b100330e73d211d283a200805fe2135d;
>SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"

Ah, this is NCSA Combined format with the cookie field added to the end
in quotes. You can use the following LOG_FORMAT lines to handle this:

LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" %j)
LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" %j)
LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j)

That will throw away the cookie information. Analog doesn't directly
support cookies but some people use the user report as a cookie report.
In that case you would want:

LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" "%u")
LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" "%u")
LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%u")

Good Luck
Jason

-----------------
Jason [at] Summary
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


jason at summary

Feb 20, 1999, 11:20 AM

Post #5 of 6 (195 views)
Permalink
Log [In reply to]

>On 2/20/99 12:30 PM GS Gosall (gsg [at] gosall) wrote:
>
>>Thanks for your prompt reply. At the end of this message I've posted lines
>>from two parts of the log file.
>>
>>Gurpal.
>>
>>>
>>> >Does anyone have the correct LOGFORMAT command to deal with
>>> Demon Internet's
>>> >Native Log Format? Thanks.
>>>
>>> Could you post the first several lines of the log to the list? Then we
>>> should be able to figure out a LOGFORMAT command for you.
>>>
>>> Jason
>>
>>cgi.www.last-minute-software.co.uk userc478.uk.uudial.com - -
>>[20/Feb/1999:09:20:37 +0000] "GET
>>/cgi-bin/www.last-minute-software.co.uk/Count.cgi?df=datafile HTTP/1.1" 200
>>2134 "Mozilla/4.0 (compatible; MSIE 4.01; MSN 2.5; Windows 98)"
>>"http://www.last-minute-software.co.uk/home.htm"
>>"MC1=GUID=b100330e73d211d283a200805fe2135d;
>>SITESERVER=ID=b100330e73d211d283a200805fe2135d; RMID=c1954ec736b23030"
>
>Ah, this is NCSA Combined format with the cookie field added to the end in
>quotes. You can use the following LOG_FORMAT lines to handle this:
>
>LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" %j)
>LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" %j)
>LOG_FORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j)
>
>That will throw away the cookie information. Analog doesn't directly
>support cookies but some people use the user report as a cookie report. In
>that case you would want:
>
>LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" "%u")
>LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" "%u")
>LOG_FORMAT (%S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%u")

Oops, I had that wrong. The server name is also added to the front, try
these:

LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" %j)
LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" %j)
LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j)

for cookies:

LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B"
"%u")
LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" "%u")
LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%u")

Jason

-----------------
Jason [at] Summary
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
-- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


gsg at gosall

Feb 21, 1999, 11:42 AM

Post #6 of 6 (192 views)
Permalink
Log [In reply to]

Thanks - it works.

Gurpal.

><snip> try these:
>
> LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B" %j)
> LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" %j)
> LOG_FORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" %j)
>
> for cookies:
>
> LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B"
> "%u")
> LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%j %r" %c %b "%f" "%B" "%u")
> LOG_FORMAT (%j %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B" "%u")
>
> Jason
>
<snip>


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to analog-help-request [at] lists
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Analog help RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.