capabilities.work

Run a SQL query on zone logs

One step with Cloudflare. We can help you get access.

Look something up

Run a SQL query on zone logs

Use Cloudflare: its Cloudflare Log Explorer Queries API lets you run a SQL query on zone logs in a single step (POST /zones/{zone_id}/logs/explorer/query/sql). capabilities.work can help you get signed up and connected.

  • How do I run a SQL query against a zone's log datasets using the request body?
  • Can I filter zone-level logs to a specific date range?
  • What's the way to send a long SQL log query for a zone without putting it in the URL?
Say it to your AI assistant
  • Run a SQL query against the log datasets of zone {zone_id}, sending the query in the request body.
  • Query zone {zone_id} logs for the last 30 days using the POST log explorer endpoint.
For your developer

POST /zones/{zone_id}/logs/explorer/query/sql in Cloudflare Log Explorer Queries API. Full spec on APIs.io.