Skip to content

Send Zaraz logs to Logpush

Last updated View as MarkdownAgent setup

Send Zaraz logs to an external storage provider like R2 or S3.

This is an Enterprise only feature.

Setup

Follow these steps to configure Logpush support for Zaraz:

1. Create a Logpush job

  1. In the Cloudflare dashboard, go to the Logpush page.

    Go to Logpush ↗
  2. Select Create a Logpush Job and follow the steps described in the Logpush documentation.
    When selecting a dataset, make sure you select Zaraz Events.

2. Enable Logpush from Zaraz settings

  1. In the Cloudflare dashboard, go to Delivery & Performance > Web tag management > Tag setup > select your domain > Settings.

    Alternatively, navigate directly to Zaraz settings

  2. Enable Export Zaraz Logs.

Fields

Logs will have the following fields:

Field Type Description
RequestHeaders JSON The headers that were sent with the request.
URL String The Zaraz URL to which the request was made.
IP String The originating IP.
Body JSON The body that was sent along with the request.
Event Type String Can be one of the following: server_request, server_response, action_triggered, ecommerce_triggered, client_request, component_error.
Event Details JSON Details about the event.
TimestampStart String The time at which the event occurred.

Was this helpful?