Traffic Router Log Information
The "Traffic Router Transaction Log Fields" table describes the fields that may be included in the Traffic Router /opt/traffic_router/var/log/access.log file.
| Name |
Description |
Data |
Present |
|---|---|---|---|
| (#) | Epoch timestamp | The epoch time stamp of the request being logged | Always |
| qtype | Whether the request was for DNS or HTTP | Always DNS or HTTP | Always |
| chi | The IP address of the requester | Depends on whether this was a DNS or HTTP request | Always |
| ttms | The amount of time, in milliseconds, that it took the Traffic Router to process the request | A number greater than or equal to zero | Always |
|
rtype |
Routing result type |
This field will be one of the following:
|
Always |
| rloc | Geolocation of result | Latitude and longitude in decimal degrees. (This will be “-” for DNS.) | Always |
|
rdtl |
Result details associated with unusual conditions |
This field will be one of the following:
|
Always |
| rerr | Message about an internal Traffic Router error | String (if error exists) | Always |
| url | Requested URL with query string | String | HTTP |
| cqhm | HTTP method in request | HTTP method in request, such as GET or POST | HTTP |
| cqhv | HTTP version in request | For example: HTTP/1.1 | HTTP |
| rh | Key value pair. One or more key value pairs may exist in a logged event and are controlled by the configuration of the matched Delivery Service. | Key value pair of the format “name: value” | HTTP |
| rurl | The resulting URL of the resource requested by the client | A URL string | HTTP |
| rgb | Postal code and RGB lookup information | If a URL has been defined for Regional Geo Blocking, the details provided in this field will reflect the postal code and additional information. | HTTP |
|
pssc |
Traffic router response code |
How the traffic router responded to the HTTP request, for example 302, 503, etc. For a complete list of possible codes refer to https://en.wikipedia.org/wiki/List_of_HTTP_status_codes |
HTTP |
| xn | The ID from the client DNS request header | A number from 0 to 65535 | DNS |
| fqdn | The qname field from the client DNS request message, for example, the FQDN the client is requesting to be resolved | A series of DNS labels or domains separated by ‘.’ characters and ending with a ‘.’ character | DNS |
| type | The qtype field from the client DNS request message, for example, the type of resolution that is requested such as IPv4, IPv6 | Examples for this field are A (IPv4), AAAA (IPv6), NS (Name Service), SOA (Start of Authority), and CNAME | DNS |
| class | The qclass field from the client DNS request message, for example, the class of resource being requested | This field can be either IN (Internet resource) or ANY (Traffic router rejects requests with any other value of class). | DNS |
| ttl | The Time to Live, in seconds, for the answer from the Traffic Router. This is how long clients can reliably use the reply without re-querying the Traffic Router. | A number from 0 to 4294967295 | DNS |
|
rcode |
The result code for the DNS answer that was provided by the Traffic Router |
This field will be one of the following:
|
DNS |
| ans | IP address in answer to the query performed | IP address in answer to the query performed | DNS |
For additional information, refer to http://traffic-control-cdn.readthedocs.io/en/latest/admin/traffic_router.html#event-log-file-format.
Feedback