diff --git a/src/content/docs/zaraz/advanced/logpush.mdx b/src/content/docs/zaraz/advanced/logpush.mdx index 623d61c0c429095..477a4a3d2aa56f4 100644 --- a/src/content/docs/zaraz/advanced/logpush.mdx +++ b/src/content/docs/zaraz/advanced/logpush.mdx @@ -1,46 +1,43 @@ --- pcx_content_type: how-to -title: Logpush +title: Send Zaraz logs to Logpush sidebar: order: 11 + label: Logpush --- import { Plan } from "~/components"; -Send Zaraz logs to an external storage provider like R2, S3, etc. +Send Zaraz logs to an external storage provider like R2 or S3. This is an Enterprise only feature. ## Setup -To configure logpush support for Zaraz please follow these steps +Follow these steps to configure Logpush support for Zaraz: -### 1. Create a logpush job +### 1. Create a Logpush job -Navigate to your Website (Zone) and from the left sidebar find **Analytics and Logs**. - -Under this **Analytics and Logs** section navigate to **Logpush** - -Click on **Create a Logpush Job** and follow the steps described in the [Logpush](/logs/logpush/) documentation. - -When it comes to selecting a dataset please make sure to select **Zaraz Events** +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), 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](/logs/logpush/) documentation.
+ When selecting a dataset, make sure you select **Zaraz Events**. ### 2. Enable Logpush from Zaraz settings -Navigate to your website's [Zaraz settings](https://dash.cloudflare.com/?to=/:account/:zone/zaraz/settings) - -Enable **Export Zaraz Logs**. +1. Go to your website's [Zaraz settings](https://dash.cloudflare.com/?to=/:account/:zone/zaraz/settings). +2. Enable **Export Zaraz Logs**. ## Fields -Logs will have the following 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. | +| 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 occured. | +| Event Details | `JSON` | Details about the event. | +| TimestampStart | `String` | The time at which the event occurred. |