Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Need help with user log format



On 7/12/04 2:08 PM smulligan@epalscorp.com (smulligan@epalscorp.com) 
wrote:

>And a sample from the log file looks like this :
>
>"220.108.114.184", "QPC8BUAajXcAAHYQCQw",
>"EPID=0c3cb1691dfb0c54ba78b7844ddd8360; IN=10022%7Cusm; 
>lecookie=lang%3Djp;
>stamp=1089518597; ", "-", "GET / HTTP/1.1", "200", "-", "www.epals.com",
>"11/07/2004 00:03:17", "0", "199", "Mozilla/4.0 (compatible; MSIE 6.0;
>Windows NT 5.1; .NET CLR 1.1.4322)"

This is a tricky one. Every single field is quoted, which is very 
unusual, and causes problems. I have never seen a log file in this format 
before. What program created it?

You can get Summary to read this format by setting "User log format 
definition", on the Miscellaneous configuration page to:

HOST SKIP COOKIE USER FULL-REQUEST CHAR STATUS CHAR REFERER SERVER CHAR 
DATE-DMY TIME-24 CHAR SKIP SKIP AGENT

That needs to all be on one line (ie no newline character, line wraps are 
alright). The mail system is sure to have split it into two lines.

Good Luck
Jason

-----------------
Jason@Summary.Net
-----------------
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
-------------
Go to <http://summary.net/list.html> to update subscription info.