...
Format String | Description | XpoLog Pattern | XpoLog ftype | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Remote IP-address | {geoip:Client IP,ftype=remoteip;type=;,} | remoteip | ||||||||||
| Local IP-address | {ip:LocalIP,ftype=localip} | localip | ||||||||||
| Size of response in bytes, excluding HTTP headers. | {number:BytesSent,ftype=bytesent} | bytesent | ||||||||||
| Bytes sentSize of response in bytes, excluding HTTP headers, or . In CLF format, i.e. a ' | {text:BytesSent,ftype=bytesent} | bytesent | ||||||||||
| The contents of cookie Foobar in the request sent to the server. Only version 0 cookies are fully supported. | {string:Cookie_< FOOBAR >} Replace < FOOBAR > with cookie name | |||||||||||
| The time taken to serve the request, in microseconds. | {number:ResponseTimeMicroSecs,ftype=responsetimemicroResponseTimeMilliSecs} | responsetimemicro | %F | Time taken to commit the response, in millis | {number:ResponseTimeMilliSecs,ftype=responsetimemilli} | responsetimemilli | ||||||
| The contents of the environment variable FOOBAR | {string:EnvVariable_< FOOBAR >} Replace < FOOBAR > with variable name | |||||||||||
| Filename | {text:FileName}
| |||||||||||
| Remote host name (or IP address if enableLookups for the connector is false) | {text:Remotehost,ftype=remotehost}
| remotehost | ||||||||||
| The request protocol | {stringtext:reqprotocolRequestProtocol,ftype=reqprotocol;,}
| reqprotocol | ||||||||||
| The contents of Foobar affect this. If you're interested in what the request header was prior to when most modules would have modified it, use mod_setenvif to copy the header into an internal environment variable and log that value with the | {text:<FOOBAR>} | and and so on it goes for the different headers.
| ||||||||||
| {string:RefererQuery,ftype=refererquery;,}{regexp:Referer,ftype=referer;refName=RefererQuery,^([\w-]+://[^?]+|/[^?]+)}
| referer | |||||||||||
| {string:User Agent,ftype=useragent;,} | useragent | |||||||||||
%{ X-Forwarded-For}i | X-Forwarded-For{text:X-Forwarded-For,ftype=forwardforip} OR {ip:X-Forwarded-For,ftype=forwardforip}
| forwardforip | |||||||||||
| Current request thread name (can compare later with stacktraces) | {text:RequestThread,ftype=thread} | thread | ||||||||||
| Remote logical username from identd (always returns '-') | {text:logicalname, ftype=logicalname} | logicalname
| Number of keepalive requests handled on this connection. Interesting if KeepAlive is being used, so that, for example, a '1' means the first keepalive request after the initial one, '2' the second, etc...; otherwise this is always 0 (indicating the initial request). Available in versions 2.2.11 and later. | {number:KeepAlive} | ||||||||
| Remote logname (from identd, if supplied). This will return a dash unless mod_ident is present and IdentityCheck is set | {string:Remote Log Name,ftype=remotelog;,} | remotelog | ||||||||||
| The request method | {textchoice:RequestMethodMethod,ftype=reqmethod;,GET;POST} | reqmethod | ||||||||||
| write value of outgoing header with name | {string:<FOOBAR>}
| |||||||||||
| The contents of Foobar | {string:<FOOBAR>}
| |||||||||||
| The canonical local port of the server serving the request | {number:ServerPort,ftype=serverport} | serverport | ||||||||||
| The canonical local port of the server serving the request or the server's actual port or the client's actual port. Valid formats are
| {number:ServerPort,ftype=serverport} {number:LocalServerPort,ftype=localserverport} {number:RemotePort,ftype=remoteport} | serverport localserverporttlocalserverportt remoteport | ||||||||||
| The query string (prepended with a | The process ID of the child that serviced the request. | {text:QueryStringProcessID,ftype=querystringprocessid} OR Suggest a regexp that will build a list of parameters as cloumns. The query string (prepended with a | querystring | |||||||||
| First line of the request (method and request URI) | {text:FirstLine,ftype=reqfirstline} TBD - might be parsed to multiple value and types}
| reqfirstline | ||||||||||
| Status. For requests that got internally redirected, this is the status of the *original* request --- | {number:ResponseStatus,ftype=respstatus} . For requests that got internally redirected, this is the status of the *original* request --- %>s for the last. | respstatus | ||||||||||
%S | User session ID | {text:UserSessionId,ftype=sessionid} | sessionid | ||||||||||
| Time the request was received (standard english format) | {date:Date,locale=en,dd/MMM/yyyy:HH:mm:ss z}
| |||||||||||
%{ format}t | The time, in the form given by format, which should be in an extended the time is taken at the beginning of the request processing. If it starts with processing. In addition to the formats supported by
These tokens can not be combined with each other or The extended | {date:Date,locale=en,dd/MMM/yyyy:HH:mm:ss z} sec number of seconds since the Epoch | |||||||||||
| The time taken to serve the request, in seconds. | {number:ResponseTimeSecs,ftype=processrequestsec}
| processrequestseci | ||||||||||
| Remote user that was authenticated (if any), else '-' | {text:User,ftype=remoteuser} Remote user (from auth; may be bogus if return status ( | remoteuser | ||||||||||
| The URL path requested, not including any query string. | {text:RequestURL,ftype=requrl} The URL path requested, not including any query string. | requrl | ||||||||||
| Local server name | {text:ServerName,ftype=servername} | servernameprocessid | ||||||||||
| The process ID or thread id of the child that serviced the request. Valid formats are | {text:ProcessID,ftype=processid} Valid formats are | processid | ||||||||||
| The query string (prepended with a | {string:Query,ftype=querystring;,} OR Suggest a regexp that will build a list of parameters as cloumns. The query string (prepended with a | querystring | ||||||||||
| First line of request |
| reqmethod requrl querystring reqprotocol | ||||||||||
| The handler generating the response (if any). | {text:ResponseHandler}
| |||||||||||
| Status. For requests that got internally redirected, this is the status of the *original* request --- | {number:ResponseStatus,ftype=respstatus} . For requests that got internally redirected, this is the status of the *original* request --- %>s for the last. | respstatus | ||||||||||
| Time the request was received (standard english format) | {date:Date,locale=en,dd/MMM/yyyy:HH:mm:ss z}
| |||||||||||
%{ format}t | The time, in the form given by format, which should be in an extended the time is taken at the beginning of the request processing. If it starts with processing. In addition to the formats supported by
These tokens can not be combined with each other or The extended | {date:Date,locale=en,dd/MMM/yyyy:HH:mm:ss z} sec number of seconds since the Epoch | |||||||||||
|
The ExtendedAccessLogValve conversion table below:
...