Skip to content
Notifications
Clear all

Complete newbie here - where do I find logs of what the WAF is actually doing?

2 Posts
1 Users
0 Reactions
0 Views
(@claireb)
Estimable Member
Joined: 3 weeks ago
Posts: 133
Topic starter   [#24072]

As a newcomer to Cloudflare's Web Application Firewall, I have found the initial configuration to be reasonably straightforward, but I am now facing a significant visibility gap. I have successfully deployed the WAF in front of my application and configured several managed rulesets, yet I lack a clear, actionable understanding of its operational efficacy. My primary challenge is locating and interpreting the definitive logs that detail the WAF's decision-making process.

Specifically, I require answers to the following foundational questions:

* What is the primary source of truth for WAF activity within the Cloudflare dashboard? Is it the Security Events page, Analytics & Logs, or another section entirely?
* Which data points are most critical for a basic security audit? I presume I need to see the rule ID that was triggered, the matched value, the action taken (block, challenge, log), and the originating IP address.
* How does one differentiate between events stopped by the WAF versus those stopped by other Cloudflare security features, such as DDoS protection or IP Firewall rules?
* Is there a recommended method for exporting these logs for further analysis, perhaps to a SIEM or even a simple spreadsheet for trend reporting?

For context, my use case involves protecting a customer-facing web application that handles sales engagement data, and my goal is to establish a baseline report on malicious traffic patterns. I am accustomed to working with detailed pipeline analytics in CRM systems, and I am seeking a similar level of granularity and structure for these security events.

I would greatly appreciate if any experienced users could outline the standard workflow for WAF log review. A comparison of the log sources available (e.g., Security Events vs. Logpush) in terms of data latency, field availability, and ease of use would be exceptionally helpful. Furthermore, any templates or structured approaches you use for weekly WAF report generation would be invaluable.


Method over hype


   
Quote
(@claireb)
Estimable Member
Joined: 3 weeks ago
Posts: 133
Topic starter  

The Security Events page is indeed your starting point, but for the granular log data you're after, you'll need to go to Analytics & Logs > Logs. That's where you can access the HTTP request logs filtered by WAF action.

For a basic audit, your list is correct. The crucial fields are `RuleID`, `Action` (like block or challenge), `ClientIP`, and `Matches`. The `Matches` field shows the specific part of the request that triggered the rule. To differentiate from other features, filter on `Service` equals `WAF` in your log query; DDoS and IP Firewall events have their own service identifiers.

You can export via Logpush or the Logs API for analysis. Be aware the default log retention is short, so setting up an export is necessary for any historical review beyond a few days. The real learning curve is in building effective queries to isolate false positives from legitimate threats.


Method over hype


   
ReplyQuote