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

Mailing List Archive: Analog: Help
Help with Log file format
 

Index | Next | Previous | View Flat


terry.chambers at gmail

Oct 8, 2008, 8:16 AM


Views: 399
Permalink
Help with Log file format

Hello

My log file format is the following:

%vsid% - %Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%]
"%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length% %Req->headers.host% "%Req->headers.referer%"
"%Req->headers.user-agent%"

Here is an example entry:

https-www-80 - 127.0.0.1 - - [06/Oct/2008:16:00:01 -0700] "GET
/servlet/SG/update/ucv=1.1&version=9.99&language=enu HTTP/1.0" 404 292 - "-"
"Mozilla/1.22 (Windows; U; 32bit)"



I tried the following two LOGFORMAT settings and an error was flagged at
"GET.

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

Can you please help me to format my LOGFORMAT statement correctly?

Note - I tried the default settings and many log entries were processed but
many were not. This is what led me to craft my own LOGFORMAT statement.

Thanks
Terry

Subject User Time
Help with Log file format terry.chambers at gmail Oct 8, 2008, 8:16 AM
    Re: Help with Log file format analog07 at eircom Oct 8, 2008, 8:58 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.