This feature determines the format and the content that will be assigned to the custom log field in a raw log file. The main purpose behind this custom field is to allow you to determine which request and response header values will be stored in your log files.
Note: By default, the custom log field is called "x-ec_custom-1." However, the name of this field can be customized from the Raw Log Settings page.
The formatting that you should use to specify request and response headers is defined below.
Header Type | Format | Examples |
---|---|---|
Request Header | %{RequestHeaderReplace this term with the name of the desired request header.}iThis letter identifies that the header being specified provides information that is inbound to our CDN. |
%{Accept-Encoding}i %{Referer}i %{Authorization}i |
Response Header | %{ResponseHeaderReplace this term with the name of the desired response header.}oThis letter identifies that the header being specified provides information that is outbound from our CDN. |
%{Age}o %{Content-Type}o %{Cookie}o |
Key information:
Default Value: -