Skip to content

Configure payload logging in the dashboard

Configure an account default to capture supported payloads across your account. Add a zone override only when a zone needs a different key.

Only users with the Super Administrator role can edit payload logging in the dashboard.

Configure the account default

  1. In the Cloudflare dashboard, go to Payload logging.

    Go to Payload logging ↗
  2. In Account default, select Configure key.

  3. Enter an existing public key or select Generate key pair.

    The public key must be a base64-encoded X25519 key that decodes to 32 bytes.

  4. If you generated a key pair, copy the private key and store it safely. Then, select I have stored my private key securely.

  5. Select Save.

The account key encrypts future payload logs for every zone without an override.

Configure a zone override

  1. In the Cloudflare dashboard, go to Payload logging.

    Go to Payload logging ↗
  2. In Zone overrides, select a zone.

  3. Select Configure key.

  4. Enter an existing public key or select Generate key pair.

  5. If you generated a key pair, copy the private key and store it safely. Then, select I have stored my private key securely.

  6. Select Save.

The zone key encrypts future payload logs for that zone instead of the account default.

Replace or delete a key

Use the actions next to a configured public key to replace or delete it. If you delete a zone override, the zone uses the account default, if configured.

Deleting an account or zone key does not delete legacy managed ruleset keys.

Was this helpful?