Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

HTTP Traffic Analytics Account Zone Metrics Security Events and Sampling

How Cloudflare dashboard analytics differ by scope (account vs zone), eyeball traffic vs subrequests, and Security Analytics vs Security Events.

This page summarizes Cloudflare documentation on how traffic, security, cache, and Workers metadata appear in the dashboard, why numbers disagree between views, and where to drill down for incidents.

Types of analytics: where dashboard metrics live

Section titled “Types of analytics: where dashboard metrics live”

Cloudflare groups analytics by scope and product. Types of analytics describes a single analytics product built from metadata collected across the network, surfaced in different dashboard areas depending on context.

Scope Typical path What you get
Account Observability → Analytics → Account analytics (beta) Aggregated metrics for all zones under one account (HTTP traffic, security, cache, errors, network)
Zone (domain) Domain → Analytics Per-site HTTP Traffic, Security, Performance, Cache, Origin, DNS, Visitors
Security (all requests) Security Analytics or Security Analytics (new dashboard) Full HTTP request profile, mitigated and not mitigated
Security (actions only) Security Events Requests actioned or flagged by security products
Programmatic / custom GraphQL API (mentioned in About Cloudflare Analytics), Custom dashboards User-defined charts and investigation boards

In an effort to make analytics an ubiquitous component of all Cloudflare’s products, Cloudflare has implemented, and continues to evolve, several ways in which customers can access and gain insights from Internet properties on Cloudflare.

— Cloudflare, About Cloudflare Analytics

Account and zone analytics also points to Security reports, Status codes, Threat types, and Cloudflare analytics with Workers.

Account analytics vs zone analytics: aggregated vs per-domain

Section titled “Account analytics vs zone analytics: aggregated vs per-domain”

Account analytics answers “How is my whole account doing?” Open it under Observability → Analytics → Account analytics as described in Account analytics (beta). Panels cover HTTP Traffic (requests, bandwidth, page views, visitors, country map), Security (encryption metrics), Cache, Errors (4xx/5xx rates), Network, HTTP version, and content type.

Zone analytics answers “How is this hostname doing?” Zone Analytics collects metrics at the website or domain level. The Analytics page shares one time range and filter set across tabs (Traffic, Performance, Security, Cache, Origin, DNS, Visitors). On paid plans, HTTP Traffic adds privacy-first metrics from edge logs—requests, data transfer, page views, visits, and API requests—with rich filters (cache status, path, edge and origin status codes, security action, and more).

Security Analytics vs Security Events: all traffic vs mitigated traffic

Section titled “Security Analytics vs Security Events: all traffic vs mitigated traffic”

These names sound alike but answer different questions.

Security Analytics: full traffic profile including non-mitigated requests

Section titled “Security Analytics: full traffic profile including non-mitigated requests”

Security Analytics shows all incoming HTTP requests, including requests never touched by WAF or other security products. Use it to see distribution, attack and bot scores, signature analysis, and to create custom security rules from current filters. The new dashboard splits Traffic (same broad analysis) and Events (mitigation-focused; see below).

Security Analytics displays information about all incoming HTTP requests for your domain, including requests not handled by Cloudflare security products. This gives you visibility into your full traffic profile, not only the requests that triggered a security rule.

— Cloudflare, Security Analytics

By default, queries use requestSource = 'eyeball' (end-user requests). Worker subrequests are not included in Security Analytics, as stated in both Security Analytics and Security Analytics (new dashboard).

The Request activity / Traffic breakdown classifies mitigated traffic, Served by Cloudflare (cache hits, redirects, /cdn-cgi/, Workers without origin subrequests), and Served by origin—see Security Analytics for the full list. Analyze attack signatures uses Security Analytics → Attack Analysis; it relies on adaptive sampling, with Log Explorer for 100% retention when needed.

Security Events: actions and flags on requests

Section titled “Security Events: actions and flags on requests”

Security Events is for requests actioned or flagged by security features (WAF, rate limiting, Browser Integrity Check, and others). One HTTP request can produce multiple events; the dashboard shows events, not raw request counts.

If you want to analyze all incoming traffic, including requests that Cloudflare did not act on, refer to Security Analytics instead.

— Cloudflare, Security Events

Get started with WAF recommends Security Analytics for overall traffic and Security Events for mitigated requests. Security reports summarize allowed vs mitigated traffic at report level; deeper work stays in Security Analytics or Log Explorer.

eyeball traffic, subrequests, and why totals do not match

Section titled “eyeball traffic, subrequests, and why totals do not match”

A common mistake is comparing panels that use different request scopes or sampling.

Overview vs Analytics → Traffic (requestSource = eyeball)

Section titled “Overview vs Analytics → Traffic (requestSource = eyeball)”

About Cloudflare Analytics explains Overview vs Traffic:

The Overview page shows analytics based on all traffic, including subrequests. However, when you go to Analytics > Traffic, the metrics (for example, Requests, Data, Visits) are filtered to show only end user traffic (that is, requestSource = eyeball).

— Cloudflare, About Cloudflare Analytics

Workers: client requests vs origin-facing subrequests

Section titled “Workers: client requests vs origin-facing subrequests”

Cloudflare analytics with Workers defines a subrequest as the edge → origin call when a Worker proxies to the origin. Eyeball → edge and edge → origin can both count toward analytics, but subrequests are excluded from the main Requests/Bandwidth graphs in the zone Analytics app. Zone analytics reflect what the client received (status codes shown are those sent to the client).

For subrequest cache status, bandwidth, and status codes, use the Workers tab under the Cloudflare Analytics app or Workers metrics. Requests served by a Worker can show as cached in zone views; for cache ratio on origin fetches, use the Subrequests graph documented there.

For log-based bandwidth aligned with dashboard “visitor” traffic, Common calculations FAQ recommends summing EdgeResponseBytes with ClientRequestSource = 'eyeball'.

Cache analytics, error analytics, and sampling limits

Section titled “Cache analytics, error analytics, and sampling limits”

Cache Analytics: sampled requests and “Served by” meanings

Section titled “Cache Analytics: sampled requests and “Served by” meanings”

Cache Analytics states the Requests summary uses a sample, extrapolated to totals—see Understanding sampling in Cloudflare Analytics (linked from that page). Served by Cloudflare vs Served by Origin differ for revalidated requests between Data Transfer and Requests views (same doc). In Cache Analytics, Served by Cloudflare reflects cache hits; broader “served by Cloudflare” in Security Analytics also includes Workers responses, redirects, and /cdn-cgi/ endpoints.

Cloudflare 5xx errors notes Error Analytics use a 1% traffic sample. Filter on HTTP Traffic via edge or origin status code. Status codes compares Edge Status Code vs Origin Status Code; edge-generated blank 502/503/504 pages are not reported in error analytics, and some 100x cases appear as 403/409 edge errors.

Security Analytics top statistics and logs

Section titled “Security Analytics top statistics and logs”

Top statistics in Security Analytics come from a sample; sampling rate appears on hover. Request logs in Security Analytics are sampled by default; Log Explorer subscribers may see raw logs.

Custom dashboards and external integrations

Section titled “Custom dashboards and external integrations”

Custom dashboards let you combine Security Events, HTTP traffic, Workers Observability logs/traces, and Log Explorer datasets. Dashboard-wide filters (time, hostname, country, status code) update every chart. The documented workflow: anomaly on a custom dashboard → Security Analytics for request detail → log search for root cause.

Third-party tiles (Datadog, New Relic, Graylog, Splunk, Prometheus) expose subsets of Cloudflare metrics; for example, the Datadog integration uses the Analytics API and does not include request log fields from Cloudflare Logs.

Performance-focused views also include Origin Analytics (origin response time at p50/p95/p99 from edge logs) and the Observatory HTTP Traffic section for served-by and 4xx/5xx split by edge vs origin.

Common mistakes when reading Cloudflare analytics

Section titled “Common mistakes when reading Cloudflare analytics”
  • Comparing Overview (includes subrequests) to Analytics → Traffic or Security Analytics filtered to eyeball traffic.
  • Treating Security Events event counts as total HTTP request volume.
  • Ignoring sampling in Cache Analytics, Error Analytics (1%), Security Analytics tops/logs, and Attack Analysis.
  • Expecting Worker origin fetches in zone HTTP Traffic graphs instead of Workers / Subrequests views.
  • Mixing edge and origin status codes without checking both (Status codes).
  • Using case-sensitive path filters incorrectly (Zone Analytics).
  1. Confirm scope: open Account analytics (beta) for account-wide totals or Zone Analytics → HTTP Traffic for a single domain.

  2. If security numbers confuse you, open Security Analytics for all requests and Security Events for mitigated traffic only; note default requestSource = eyeball in the new dashboard.

  3. With Workers on the route, compare zone Traffic to subrequest charts in Cloudflare analytics with Workers or Workers metrics.

  4. For cache or 5xx investigations, use Cache Analytics and Cloudflare 5xx errors filters on HTTP Traffic, remembering documented sampling.

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match your dashboard or plan tier, email yimasynthetic@gmail.com with the page URL and the exact sentence you think is wrong so it can be corrected or clarified.