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