Log Request Details

With this behavior enabled you can specify the HTTP request headers and/or cookies to be logged in your ​Akamai​ Log Delivery Service reports or DataStream 2.

Features and options

FieldWhat it doesSub-options
Log Host HeaderLog the Host header. This header specifies the domain name of the server (for virtual hosting), and (optionally) the TCP port number on which the server is listening.
Log Referer HeaderLog the Referer header. This header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify from where people are visiting.
Log User-Agent HeaderLog the User-Agent header. This header contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting client.
Log Accept-Language HeaderLog the Accept-Language header. This header advertises which languages the client is able to understand, and which locale variant is preferred.
Cookie ModeSelect whether you want to log all cookies, some cookies or no cookies.
  • Don’t log any cookies
  • Log all cookies
  • Log some cookies
CookiesWith Cookie Mode set to Log some cookies, provide the cookie names for which you want the values to be logged.
  • sessionid
  • user_local

Include Custom Log FieldWhether to append additional custom data to each log line.
Custom Log FieldWith Include Custom Log Field set to On, enter the information for the custom log field. Starting from the v2024-01-09 rule format, this field will be truncated to 1000 bytes of data and escaped per RFC1738. For older rule format versions, this field will be truncated to 40 bytes. This field can only contain request information. To log response information, use the Log Custom Details behavior.

This option supports variable expression syntax. Typing {{ in the option field triggers variable autocomplete. Learn more about variable support.
Log ​Akamai​ Edge Server IP AddressLog the IP address of the ​Akamai​ edge server which served the response to the client.
Log X-Forwarded-For HeaderLog the X-Forwarded-For request header if it was passed.