Skip to content
Cloudflare Docs

Send Zaraz logs to Logpush

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. Log in to the Cloudflare dashboard, and select your account and zone.
  2. Go to Analytics & Logs > Logpush.
  3. 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. Go to your website's Zaraz settings.
  2. Enable Export Zaraz Logs.

Fields

Logs will have the following fields:

FieldTypeDescription
RequestHeadersJSONThe headers that were sent with the request.
URLStringThe Zaraz URL to which the request was made.
IPStringThe originating IP.
BodyJSONThe body that was sent along with the request.
Event TypeStringCan be one of the following: server_request, server_response, action_triggered, ecommerce_triggered, client_request, component_error.
Event DetailsJSONDetails about the event.
TimestampStartStringThe time at which the event occurred.