This appendix contains the following sections:
The following table describes Traffic Server custom logging fields.
%<field symbol> |
Description |
---|---|
|
Logs the information in the requested field of the client request HTTP header. For example, |
|
Logs the information in the requested field of the proxy request HTTP header. For example, |
|
Logs the information in the requested field of the proxy response HTTP header. For example, |
|
Logs the information in the requested field of the server response HTTP header. For example, |
|
The client authenticated username; result of the RFC931/ident lookup of the client username. |
|
The client finish status code; specifies whether the client request to Traffic Server was successfully completed ( |
|
The IP address of the client's host machine. |
|
The client request transfer length; the body length in the client request to Traffic Server (in bytes). |
|
The client request header length; the header length in the client request to Traffic Server. |
|
The HTTP method in the client request to Traffic Server: |
|
The client request HTTP version. |
|
The client request timestamp. Specifies the date of the client request in the format yyyy-mm-dd, where yyyy is the 4-digit year, mm is the 2-digit month, and dd is the 2-digit day. |
|
The client request timestamp; date and time of the client's request (in the Netscape timestamp format). |
|
The client request timestamp, with millisecond resolution. |
|
The client-request timestamp in Squid format; the time of the client request since January 1, 1970 UTC. Time is expressed in seconds, with millisecond resolution. |
|
The client request timestamp. The time of the client request in the format hh:mm:ss, where hh is the two-digit hour in 24-hour format, mm is the two-digit minutes value, and ss is the 2-digit seconds value (for example, 16:01:19). |
|
The full HTTP client request text, minus headers; for example, In reverse proxy mode, Traffic Server logs the rewritten/mapped URL (according to the rules in the |
|
The universal resource identifier (URI) of the request from client to Traffic Server (subset of In reverse proxy mode, Traffic Server logs the rewritten/mapped URL (according to the rules in the |
|
The client request canonical URL. This differs from In reverse proxy mode, Traffic Server logs the rewritten/mapped URL (according to the rules in the |
|
The client request URL path; specifies the argument portion of the URL (everything after the host). |
|
The client request URL scheme. |
|
The client request unmapped URL canonical. This field records a URL before it is remapped (reverse proxy mode). |
|
The cache result code; specifies how the cache responded to the request ( |
|
The size of the file (n bytes) as seen by the origin server. |
|
The proxy finish status code; specifies whether the Traffic Server request to the origin server was successfully completed ( |
|
The hostname of the Traffic Server that generated the log entry in collated log files. |
|
The proxy hierarchy route; the route Traffic Server used to retrieve the object. |
|
The proxy request transfer length; the body length in Traffic Server's request to the origin server. |
|
The proxy request header length; the header length in Traffic Server's request to the origin server. |
|
The proxy request server IP address (0 on cache hits and parent-ip for requests to parent proxies). |
|
The proxy request server name; the name of the server that fulfilled the request. |
|
The number of proxy response bytes to the client from the cache. |
|
The number of proxy response bytes to the client from the origin server. |
|
The length of the Traffic Server response to the client (in bytes). |
|
The content type of the document from server response header: (for example, |
|
The header length in Traffic Server's response to the client. |
|
The proxy response transfer length in Squid format (includes header and content length). |
|
The HTTP response status code from Traffic Server to the client. |
|
The IP address resolved from the DNS name lookup of the host in the request. For hosts with multiple IP addresses, this field records the IP address resolved from that particular DNS lookup. |
|
The hostname of the origin server. |
|
The response length (in bytes) from origin server to Traffic Server. |
|
The header length in the origin server response to Traffic Server (in bytes). |
|
The server response HTTP version (1.0, 1.1, etc.). |
|
The HTTP response status code from origin server to Traffic Server. |
|
The time Traffic Server spends processing the client request; the number of milliseconds between the time the client establishes the connection with Traffic Server and the time Traffic Server sends the last byte of the response back to the client. |
|
The time Traffic Server spends processing the client request as a fractional number of seconds. Time is specified in millisecond resolution; however, instead of formatting the output as an integer (as with |
|
The time Traffic Server spends processing the client request; the number of seconds between the time at which the client establishes the connection with Traffic Server and the time at which Traffic Server sends the last byte of the response back to the client. |
The following sections illustrate the correspondence between Traffic Server logging fields and standard logging fields for the Squid and Netscape formats.
The following table lists the Squid logging fields and the corresponding logging field symbols.
Squid |
Field Symbols |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table lists the Netscape Common logging fields and the corresponding Traffic Server logging field symbols.
Netscape Common |
Field Symbols |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
The following table lists the Netscape Extended logging fields and the corresponding Traffic Server logging field symbols.
Netscape Extended |
Field Symbols |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table lists the Netscape Extended-2 logging fields and the corresponding Traffic Server logging field symbols.
Netscape Extended-2 |
Field Symbols |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|