Log Delivery for EdgeWorkers

Integrate EdgeWorkers logging data into the Log Delivery Service. This will help provide visibility into EdgeWorkers status and failure over the specified period of time.

Before you begin

Refer to the Log Delivery Service User Guide for instructions on how to create a log delivery configuration.
The Log Delivery Service allows up to 40 characters in the log output. Any text after 40 characters is truncated.

How to

  1. Click Add rule to add a new Rule to your property.
  2. Enter a name for the rule and click Insert Rule.
  3. Click Add Match in the new rule and select Metadata Stage as the match criteria and client-done as the scope.
    Note: The criteria populates the Custom Log field in the Log Request Details behavior.
  4. Click Add Behavior to add the Log Request Details behavior to the rule.
  5. Enable the Include Custom Log Field option.
  6. Add the built-in EdgeWorkers variables to the Custom Log Field you want to include in the Log Delivery Service output.
    • AK_EDGEWORKERS_FAILURE - Add this variable to log information about the failure status and details when an EdgeWorkers error occurs.
    • AK_EDGEWORKERS_STATUS - Add this variable to log information about the execution status of the onClientRequest, onOriginRequest, On OriginResponse, and onClientResponse event handlers.
    • AK_EDGEWORKERS_RP_STATUS - Add this variable to log information about the execution of the responseProvider event handler.
    Note: The Log Delivery Service allows up to 40 characters in the log output. Any text after 40 characters is truncated.