RTLD CDN supports logging:
Headers and Cookies
Setting up logging for a request header, response header, or a cookie is a two-step process that you must perform for each desired environment.
- Register the desired header(s) and cookie(s) from within the Realtime Log Delivery page.
- Add the desired header(s) and cookie(s) within the desired RTLD CDN profile.
Key information:
- It may take up to 90 minutes before Edgio starts logging newly registered headers and cookies.
- Changes to a RTLD profile take effect quickly. If logging for a custom header or cookie has not been fully propagated, then RTLD will set those fields to blank values.
To set up header or cookie logging
-
Register the desired request headers, response headers, and cookies on the Realtime Log Delivery page.
- From the Edgio Console, select the desired private space or organization.
- Select the desired property.
- From the left-hand pane, select the desired environment from under the Environments section.
- From the left-hand pane, select Realtime Log Delivery.
- From the Log Custom Headers and Cookies section, add the desired headers and cookies.
- From the Request Headers, Response Headers, or the Cookies option, type the desired value and then press
ENTER
. - Repeat the previous step as needed.
- From the Request Headers, Response Headers, or the Cookies option, type the desired value and then press
- Click Deploy Changes when you are finished adding headers and cookies.
-
Add the desired headers and cookies from step 1 to the desired RTLD CDN profile(s).
-
Load the desired profile by clicking on it from the the Realtime Log Delivery page.
-
From the Fields section, add the desired headers and cookies.
- Click on the list to add additional headers or cookies.
- You may either select the name of the desired header or cookie, or type its name and then press
ENTER
. - Remove a header or cookie by clicking on its
x
.
-
Click Apply Changes.
If you see a warning after adding a header or cookie, then you should verify that it has been set on the Realtime Log Delivery page.- Repeat steps 1 - 3 as needed.
-
Blank Log Fields
RTLD returns a blank value for a header or cookie log field when any of the following conditions are true:
- The header or cookie was missing.
- The header or cookie was set to blank.
- The header or cookie has not been registered on the current environment.
- The header or cookie has been registered, but it has not been fully propagated. Propagation may take up to 90 minutes.
Custom Logging through Rules
The recommended method for logging headers is to configure it directly from RTLD.
Log request and response headers through the following procedure:
-
Add the Custom Log Field feature to the desired rule.
-
From within the desired RTLD CDN profile, enable the Custom Field field.
- Load the desired profile by clicking on it from the the Realtime Log Delivery page.
- From the Fields section, expand the General section and verify that the Custom Field field is marked.
- If you modified your RTLD CDN profile, click Apply Changes.