Get ip and count
Hi, I already post this on the cloudflare community, here's the link https://community.cloudflare.com/t/get-ip-and-count/628279 and I dont get answers so probably will get an answer here.
I’m exploring the cloudflare API and tried some execution. unfortunately, I did not get my expected output.
here’s what I want to accomplish,
is there a way to get via API the IP’s and their count?
for example this filter
WAF Attack Score Class equals Likely attack
then I want to get the Source IP's and their count. Is that possible?
3 Replies
Here's the sample IP's that I want to get via API
You are going to want something like https://developers.cloudflare.com/analytics/graphql-api/tutorials/querying-firewall-events/
Cloudflare Docs
Querying Firewall Events with GraphQL · Cloudflare Analytics docs
In this example, we are going to use the GraphQL Analytics API to query for Firewall Events over a specified time period.
will check on this...