Use Cloudflare Trace
Beta- Log in to the Cloudflare dashboard ↗, and select your account.
- Set configuration settings at the account level, or select a domain and configure settings for one or more Cloudflare products.
-
In the Cloudflare dashboard ↗, go to Account Home > Trace.
-
Enter a URL to trace. The URL must include a hostname that belongs to your account.
-
Select an HTTP method. If you select POST, PUT, or PATCH, you should enter a value in Request body.
-
(Optional) Define any custom request properties to simulate the conditions of a specific HTTP/S request. You can customize the following request properties:
-
Select Send trace.
The Trace results page shows all evaluated and executed configurations from different Cloudflare products, in evaluation order. Any inactive rules are not evaluated.
-
Analyze the different steps with evaluated and executed configurations for the current trace. Trace results include matches for all active rules and configurations, whether configured at the account level or for a specific domain or subdomain.
To show all configurations, including the ones that did not match the request, select All configurations in the Results shown dropdown.
-
(Optional) Update your Cloudflare configuration (at the account or at the domain/subdomain level) and create a new trace to check the impact of your changes.
To run a trace later with the same configuration:
- Copy the JSON shown in the dashboard with the current trace configuration.
- When creating a new trace, paste it in the JSON box to define all the settings of the new trace.
Use the Request Trace operation to perform a trace using the Cloudflare API.
- Execution of one or more rules of Cloudflare products built on the Ruleset Engine. Refer to the Ruleset Engine’s Phases list for a list of such products.
- Page Rules: Execution of one or more rules.
- Workers: Execution of one or more scripts.