Configure payload logging in the dashboard

Last updated Aug 3, 2026 Note

Only users with the Super Administrator role can configure payload logging and decrypt payloads in the Cloudflare dashboard. Other users can decrypt payloads if they have access to the logs and to the private key.

  1. In the Cloudflare dashboard, go to the Security rules page. Go to Security rules ↗
  2. (Optional) Filter by Managed rules.
  3. Search for the managed ruleset you want to configure. Look for a rule with an Execute action.
  4. Select the rule name (containing the name of the managed ruleset).
  5. At the bottom of the page, select Configure payload logging.
  6. After reading and understanding the implications of enabling payload logging, select one of the available options:
  7. Generate key pair using your web browser: Generates a key pair (a private and a public key) in your browser and configures payload logging with the generated public key.
  8. Use my own public key: Enter a public key generated by the matched-data-cli command-line tool.
  9. Select Next.
  10. If you generated a key pair in the browser, copy the displayed private key and store it safely. You will use this private key later to view the decrypted payload content.
  11. Select Done, and then select Save.

Was this helpful?

YesNo

On this page

Configure payload logging in the dashboa - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/waf/managed-rules/payload-logging/configure/#page","headline":"Configure payload logging in the dashboard","description":"Configure payload logging for managed rulesets in the dashboard.","url":"https://developers.cloudflare.com/waf/managed-rules/payload-logging/configure/","inLanguage":"en","image":"https://developers.cloudflare.com/waf/managed-rules/payload-logging/configure/og.png?v=19f4518bd37e2612","dateModified":"2026-08-03","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Logging"]}


description: Configure payload logging for managed rulesets using the API. title: Configure payload logging via API image: https://developers.cloudflare.com/waf/managed-rules/payload-logging/configure-api/og.png?v=0abab03ab64e167a


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/waf/llms.txt
Use this file to discover all available pages before exploring further.