Fetching WAF events
Is it possible to programatically fetch all WAF events for the past 24 hours. For example, I was DDoS'd and I'd like to export all IPs. Exporting 500 entries at a time is not viable. As there are a couple million requests that were blocked by the WAF from different ips.
So is there some API endpoint I could use to export all events?
1 Reply
Looks like something called "Log Explorer" (beta) gives you access to the raw logs? -> https://developers.cloudflare.com/logs/log-explorer/
Cloudflare Docs
Log Explorer | Cloudflare Logs docs
Log Explorer enables you to store and explore your Cloudflare logs directly within the Cloudflare Dashboard or API. Giving you visibility into your logs without the need to forward them to third parties. Logs are stored on Cloudflare’s global network using the R2 object storage platform and can be queried via the Dashboard or SQL API.