Back to Cloudflare

Turn Cloudflare Traffic Into Useful Evidence

November 5, 2026 Wasil Zafar 29 min read

Connect aggregate analytics, events, logs, and external investigations

Table of Contents

  1. Dashboards Aggregate Different Kinds of Data
  2. Web Analytics and GraphQL Queries Answer Different Questions
  3. Log Explorer, Logpush, and Audit Events
  4. Retention, Sampling, Redaction, and Correlation
  5. Design an Evidence Flow From Edge Request to SIEM
  6. Reconcile a Test Request Across Available Data Sources

Dashboards Aggregate Different Kinds of Data

At 14:07 a customer writes: "checkout failed, screenshot attached." The screenshot shows your generic error page. There is no Ray ID — Cloudflare's per-request identifier — no URL beyond /checkout, and no time beyond the message. You open the Cloudflare dashboard. Requests are flat, the error rate sits at 0.4%, and the cache hit ratio looks normal. The dashboard is not lying. It is answering a different question from the one the ticket asks.

Three kinds of data are easy to confuse because they all appear under the word "analytics."

Aggregate analytics are counts, sums, averages, and percentiles computed over dimensions and time buckets. The row is "1,204 requests to /checkout with status 502 between 14:00 and 14:05," not any particular request. Request records are one row per event: timestamp, Ray ID, host, path, status, bytes, latency, and whatever else the dataset exposes. Audit records describe control-plane changes — who edited a rule, which token changed a setting, what the previous value was — and say nothing about visitor traffic.

The useful analogy is a traffic report, a dashcam, and a building access log. The report says there was a jam at 14:00 but not whether your car was in it. The dashcam can, but only for the car that recorded it. The building log says who unlocked the garage, not who drove out. An incident usually needs all three.

Three properties separate the sources, and they carry the rest of this article:

  1. Grain — what one row represents. A time bucket, a grouped dimension set, or a single request.
  2. Identity — whether you can name the event. Aggregate rows have no Ray ID; request records do.
  3. Completeness — whether the source saw every event, a sample, or only the events that survived a filter and a retention window.

Figure 1 maps a vague report to the question that can actually be answered. The first branch is not "which dashboard" but "what are we asking."

Dashboards Aggregate Different Kinds of Data
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','titleColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    T["Ticket: checkout failed at 14:07
no Ray ID, no exact URL"] --> Q{"What is the question?"} Q -->|"How many failed, and when?"| AGG["Aggregate analytics
counts by status, path, minute"] Q -->|"Which request failed, and why?"| REQ["Request records
RayID, statuses, timings, colo"] Q -->|"Who changed the configuration?"| AUD["Audit records
actor, action, resource, before/after"] AGG --> A1["Shows a spike
cannot name the request"] REQ --> A2["Names the request
only if retained or exported"] AUD --> A3["Explains a control-plane change
not visitor traffic"] A1 --> LIMIT["Absence is not proof
sample, filter, or retention may hide it"] A2 --> LIMIT A3 --> LIMIT classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class A3 primary; class Q,AGG,REQ,AUD,A1,A2,LIMIT secondary; class T danger;

Figure 2 places the four data layers on a fidelity ladder. Browser beacons produce aggregated performance data. GraphQL produces grouped edge counts from sampled datasets. Log Explorer keeps individual rows inside Cloudflare for a limited window. Logpush streams individual rows out, where the destination's retention becomes the ceiling. The dashed boundary matters: once records leave Cloudflare, schema, keys, access control, and deletion are yours.

Four layers of Cloudflare evidence, from aggregate to exported records Web Analytics aggregates browser performance beacons. GraphQL Analytics returns sampled edge counts. Log Explorer retains individual events for a limited window. Logpush exports individual events to a destination whose retention and access control are customer-managed. More identity and control as you move down; more volume and cost too Layer What one row represents What it can prove Web Analytics browser RUM beacon Aggregated page performance no request status, no Ray ID How the page felt for browsers that ran the beacon GraphQL Analytics edge aggregate API Grouped, adaptively sampled counts estimates, not event identity Trends and top-N within sampling error Log Explorer retained event store One row per event, queried with SQL only datasets you enabled Which request failed inside the retained window Logpush one-shot export pipe NDJSON batches, fields you select no storage, no search, no backfill Anything your schema keeps if the job was healthy Cloudflare boundary: delivery ends here; retention, joins, and deletion become yours SIEM or data lake customer-managed store Records plus enrichment and history dedupe on RayID, map to your schema Cross-source cases bounded by your own retention Each step down adds per-request identity, and each step down also adds storage, pipeline, and access-control work.

The boundary is where most evidence programmes fail, and not for a technical reason. The export works, the files arrive, and then someone discovers that the bucket lifecycle rule deletes objects after seven days while the investigation timeline is thirty.

Web Analytics and GraphQL Queries Answer Different Questions

Return to the checkout ticket. Four tools can each contribute, and the useful comparison is the question each one is built to answer.

Cloudflare Web Analytics is real-user monitoring. A JavaScript beacon loads from static.cloudflareinsights.com, reads the browser's Navigation Timing entries, and reports page-load and Core Web Vitals data to /cdn-cgi/rum (data origin and collection). It is available on all plans and is privacy-oriented: Cloudflare states it does not track individual end users across properties. That design is exactly why it cannot answer the ticket. It sees browsers that executed the beacon, not requests blocked at the edge, not API clients, and not origin status codes. A strict CSP or an ad blocker can suppress the beacon entirely.

GraphQL Analytics queries edge-side datasets. httpRequestsAdaptive is available on all plans and firewallEventsAdaptive on Pro, Business, and Enterprise; both retain at least 31 days and both use adaptive sampling (datasets). The query returns grouped rows, and the counts are estimates derived from the sample. Limits are real: 300 queries per five-minute window per user, up to 10 zones per zone-scoped query, and one account per account-scoped query (limits). This is the right tool for "how many 502s per path per minute," not for naming a single request.

Log Explorer stores individual events and exposes them through SQL in the dashboard or the API. It requires the paid add-on, and only datasets you enable are queryable (Log Explorer). Default retention is 30 days for most datasets and 7 days for Workers, Containers, R2, AI Gateway, and Issues (datasets). SQL is a practical subset: a default LIMIT of 10,000, at most 25 predicates, and no joins (SQL queries).

Logpush is a delivery pipe, not a store. A job names a dataset, a destination, a field list, and optional filters, sampling, and a transformer. Logpush pushes records in batches (NDJSON by default) roughly once per minute, never backfills, and cannot search what it sent (Logpush). Since September 30, 2026 it is available on all plans — self-service on Free, Pro, and Business, and through the account team on Enterprise — with 25 GB per month included for internal exports and another 25 GB for external exports, then usage-based rates (pricing).

The table makes the boundary explicit. Availability and retention are as documented on 2026-11-05 and will move.

ToolRow grainBest questionAvailability (verified 2026-11-05)Retention and main limit
Web AnalyticsAggregated browser RUMHow did the page perform for real browsers?All plansAggregate reporting only; no per-request rows or Ray ID
GraphQL AnalyticsGrouped edge events, adaptively sampledHow many, how often, and where?httpRequestsAdaptive all plans; firewallEventsAdaptive Pro and aboveAt least 31 days; counts are estimates; 300 queries per 5 minutes
Log ExplorerIndividual retained eventsWhich request, and what did its fields say?Paid add-on for Application Services or Zero Trust purchases30 days default, 7 days for some datasets; contract retention up to 2 years
LogpushIndividual events exported (NDJSON by default)How do I keep or correlate this outside Cloudflare?All plans since 2026-09-30No storage or search; no backfill; ~1-minute batches; destination retention is the ceiling

Figure 3 turns the table into a decision path with the failure branches that surprise people: a dataset that was never enabled returns nothing, an adaptive query returns an estimate rather than a census, and a disabled Logpush job leaves a permanent hole.

Web Analytics and GraphQL Queries Answer Different Questions
%%{init: {'theme':'base','themeCSS':'.edgeLabel .label text, .edgeLabel text, .edgeLabel span { fill:#132440 !important; color:#132440 !important; }','themeVariables': {'primaryColor':'#16476A','primaryTextColor':'#ffffff','primaryBorderColor':'#132440','secondaryColor':'#3B9797','secondaryTextColor':'#ffffff','secondaryBorderColor':'#132440','tertiaryColor':'#c4873b','tertiaryTextColor':'#132440','tertiaryBorderColor':'#132440','lineColor':'#5a6e82','textColor':'#132440','mainBkg':'#16476A','nodeBorder':'#132440','clusterBkg':'#eef3f7','clusterBorder':'#132440','edgeLabelBackground':'#ffffff','actorBkg':'#16476A','actorTextColor':'#ffffff','actorBorder':'#132440','activationBkgColor':'#3B9797','activationBorderColor':'#132440','signalColor':'#5a6e82','signalTextColor':'#132440','noteBkgColor':'#c4873b','noteTextColor':'#132440','noteBorderColor':'#132440','labelBoxBkgColor':'#a8dede','labelBoxBorderColor':'#132440','labelTextColor':'#132440','loopTextColor':'#132440','altBackground':'#f8f9fa','fontFamily':'DM Sans, sans-serif'}}}%%
flowchart TD
    Q["Question about a traffic event"] --> ID{"Need to name one request?"}
    ID -->|No| PERF{"Browser performance or edge behavior?"}
    PERF -->|"Browser performance"| WA["Web Analytics
all plans, aggregate RUM"] PERF -->|"Edge counts and security actions"| GQ["GraphQL Analytics
adaptive, at least 31 days"] ID -->|Yes| SQL{"Need SQL over raw rows now?"} SQL -->|Yes| LE["Log Explorer
paid add-on, 30-day default"] SQL -->|"No, need external retention"| LP["Logpush job
NDJSON to SIEM or storage"] LE -->|"Dataset not enabled"| F1["Empty result set
enable the dataset first"] GQ -->|"Adaptive sample"| F2["Counts are estimates
read the sampling metadata"] LP -->|"Job disabled over 24 hours"| F3["Job disabled automatically
gap cannot be backfilled"] classDef primary fill:#132440,color:#ffffff,stroke:#0b172b; classDef secondary fill:#16476A,color:#ffffff,stroke:#0f314a; classDef ok fill:#3B9797,color:#ffffff,stroke:#2a6f6f; classDef danger fill:#BF092F,color:#ffffff,stroke:#7a0420; classDef warn fill:#c4873b,color:#132440,stroke:#8a5a1f; class PERF,WA primary; class Q,ID,GQ,SQL,LE,LP,F1,F3 secondary; class F2 warn;

The code widget asks one question two ways. The SQL panel returns the failing requests themselves from Log Explorer, including Ray ID and origin status. The JSON panel sends a GraphQL query for the same path and window and returns status counts. Same predicate, different grain. The SQL panel assumes the http_requests dataset is enabled and the Logs time range is set to the incident; {{ timeFilter }} is the documented Log Explorer token that expands from that picker.

-- Logs > SQL. {{ timeFilter }} expands from the selected time range.
SELECT
  RayID,
  EdgeStartTimestamp,
  ClientIP,
  ClientRequestHost,
  ClientRequestPath,
  EdgeResponseStatus,
  OriginResponseStatus,
  SecurityAction,
  EdgeTimeToFirstByteMs
FROM http_requests
WHERE {{ timeFilter }}
  AND ClientRequestPath = '/checkout'
  AND EdgeResponseStatus >= 500
ORDER BY EdgeStartTimestamp DESC
LIMIT 50;
{
  "query": "query CheckoutStatusMix($zoneTag: string, $start: Time, $end: Time) { viewer { zones(filter: { zoneTag: $zoneTag }) { httpRequestsAdaptiveGroups(filter: { datetime_geq: $start, datetime_leq: $end, clientRequestPath: \"/checkout\" }, limit: 10, orderBy: [count_DESC]) { count sum { edgeResponseBytes } dimensions { edgeResponseStatus } } } } }",
  "variables": {
    "zoneTag": "023e105f4ecef8ad9ca31a8372d0c353",
    "start": "2026-11-02T13:00:00Z",
    "end": "2026-11-02T15:00:00Z"
  }
}

Aggregate decides, rows explain

Use the aggregate query to establish whether the incident is real and how wide it is. Use the row query to explain one case. Never present an adaptive count as an exact incident record count; the confidence interval is the honest answer to "exactly how many."

Log Explorer, Logpush, and Audit Events

Log Explorer is Cloudflare's native evidence store. Ingestion is billed per gigabyte and queries add no charge; stopping the add-on requires both disabling datasets and cancelling the subscription (pricing). The dataset list is also the enablement list: if http_requests was never turned on, a Ray ID search returns nothing, and no SQL fixes that. Pricing is in transition — Cloudflare documents a change effective December 1, 2026 that moves Log Explorer datasets to $1 per GB ingested with 30-day retention included (datasets). Treat any number here as a dated observation.

A Logpush job is six decisions, and each one can quietly narrow the evidence:

DecisionWhat it controlsThe trap
DatasetWhich records exist: http_requests, firewall_events, audit_logs_v2, Workers Trace EventsAvailability follows the products on the account; Workers Trace Events also requires Workers Paid
DestinationWhere batches land: R2, S3, GCS, Azure Blob, Splunk, Datadog, Sumo Logic, SentinelOne, generic HTTPSR2 and Pipelines price as internal; everything else is external
Fieldsoutput_options.field_names, an explicit listThere is no "all fields" switch; extra fields raise record size and cost
FilterA pass-through gate: every condition must be true (filters)It is not an exclusion list
Samplingsample_rate above 0 to 1, applied after filteringIt does not rewrite the dataset's own SampleInterval
TransformOptional SQL that filters, reshapes, redacts, or computes per record (transformers)A job can have a filter or a transformer, not both

Six decisions, one object. The payload below sets the nine-field schema, NDJSON output, RFC 3339 timestamps, a path filter, and full sampling; the command sends it to the account's job endpoint.

{
  "name": "evidence-flow-http-requests",
  "dataset": "http_requests",
  "destination_conf": "r2://evidence-logs/{DATE}?account-id=$ACCOUNT_ID&access-key-id=$R2_ACCESS_KEY_ID&secret-access-key=$R2_SECRET_ACCESS_KEY",
  "output_options": {
    "field_names": ["RayID", "EdgeStartTimestamp", "ClientRequestHost", "ClientRequestPath", "EdgeResponseStatus", "OriginResponseStatus", "ClientIP", "SecurityAction", "EdgeColoCode"],
    "output_type": "ndjson",
    "timestamp_format": "rfc3339"
  },
  "filter": "{\"where\":{\"key\":\"ClientRequestPath\",\"operator\":\"eq\",\"value\":\"/evidence-test\"}}",
  "sample_rate": 1
}
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/logpush/jobs" \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @job.json

Delivery has no replay button. Logpush processes data about once per minute, batches up to 100,000 records by default, and on catch-up limits an upload to at most two minutes of log data (API configuration). Retries continue until the batch succeeds or the buffered data ages out of the internal window; a batch that ages out is recorded as 1201 FlushMaxLag and its records are gone. If no batch succeeds for 24 hours, Cloudflare disables the job (health). Re-enabling does not recover the gap. When a destination is slow but alive, lowering max_upload_records is the documented relief valve; the retry cadence itself is not configurable.

Audit events are a different dataset with a different job. Audit Logs v2 records user- and system-initiated control-plane actions, retains them for 18 months, and limits the v2 UI to the most recent 90 days; the API and Logpush reach the full window (Audit Logs). A v1 Logpush job does not cover v2 — you need a separate job for audit_logs_v2. The v2 entry includes the actor, the action result, the resource, and a raw block with method, status code, URI, and cf_ray_id, which is the join key to a request record.

A composite incident — constructed, not measured — shows how the pieces fit. A custom WAF rule is edited at 13:58. At 14:07 checkout requests begin returning 502 from the origin. The GraphQL status mix for the checkout path shows a small bump that is easy to dismiss. Log Explorer, filtered to the path and window, returns the rows: EdgeResponseStatus 502 with OriginResponseStatus 502, so the edge relayed an origin failure rather than inventing one.

The audit trail supplies the control-plane half. It shows the rule change and the actor. The request's Ray ID and the audit entry's raw.cf_ray_id do not match — they are different requests — but the timeline and the resource connect them. Logpush carries all of it to the SIEM, where the 30-day Cloudflare window no longer applies.

The SIEM schema is deliberately narrow. Eight to twelve fields carry the whole story: request identity and time, host and path, edge and origin status, client identity, security action, and colo. Start there; extra fields raise export volume and breach radius before they answer a single question.

Normalize, dedupe, partition

  • Normalize timestamps at the job: the dashboard defaults to rfc3339 and the API to unixnano (output options).
  • Deduplicate on RayID plus EdgeStartTimestamp, because ambiguous retries can redeliver a batch.
  • Partition by date, not host, so one noisy host cannot create a hotspot.

Retention, Sampling, Redaction, and Correlation

Retention is not one number

It is a set of clocks with different start times. An investigation at day 40 sees a different world from one at day 200, and the Logpush lane is the one that fails silently.

  • Web Analytics keeps aggregate performance views; there is no row-level clock to reason about.
  • GraphQL adaptive datasets retain at least 31 days on every plan; exact depth and fields vary by plan.
  • Log Explorer keeps 30 days by default, 7 days for Workers, Containers, R2, AI Gateway, and Issues, and up to two years by contract.
  • Audit Logs v2 keeps 18 months, but the UI queries only 90 days.
  • A Logpush destination keeps whatever its lifecycle policy says, which is often shorter than anyone remembers.

Figure 4 shows the failure path. The assumed single bar at the top is what people plan for; the lanes below are what the sources actually deliver. The gap in the Logpush lane is the dangerous one, because it is silent.

Retention lanes and the silent Logpush gap A single assumed retention window compared with the actual windows: Log Explorer 30 days, GraphQL adaptive at least 31 days, audit logs 18 months with a 90-day UI limit, and a Logpush destination with a multi-hour gap caused by a disabled job. One assumed window, four real clocks (timeline not to scale) Assumed "Everything is queryable for a year" T0 30d 90d 18mo Log Explorer 30 days expired, cannot be recreated GraphQL adaptive at least 31 days sampled, not a per-request census Audit Logs v2 18 months retained UI stops at 90 days; API and Logpush continue Logpush destination healthy delivery gap healthy again; the gap is permanent job disabled for hours; 1201 FlushMaxLag What survives the gap Aggregate trend shows the outage shape Audit trail shows who changed what Missing request rows cannot be reconstructed Destination copy only if it was delivered Retention is a property of each lane, not of the product name. Recovery is only possible where a copy already exists.

Sampling needs one piece of arithmetic and one habit. A 10% sample_rate means roughly one in ten records is delivered, and the estimator multiplies by ten. The habit: never compare a sampled count to an unsampled count without saying so. Adaptive sampling changes rate with volume, so the rate during an attack is not the rate during a quiet hour. GraphQL exposes confidence intervals for sums and counts on adaptive datasets, which is the honest thing to quote when someone asks for an exact total (confidence intervals).

One documentation wrinkle is worth flagging. The sampling page still says Enterprise customers have access to raw data through Cloudflare Logs, a sentence written before Logpush moved to all plans. The mechanics are accurate; the availability claim lags the pricing change. Verify entitlement against the current Logpush page.

The log-injection option is narrow. CVE-2021-44228 replaces the Log4j lookup prefix with x{ in delivered records, which blunts log-injection-shaped payloads; it is not a general sanitizer.

Correlation is mostly one key and one discipline. RayID joins the request record, the firewall event, the Worker log, and the audit entry's raw.cf_ray_id; ParentRayID links a Worker subrequest to its parent. Timestamps must be normalized before the join, because nanosecond integers, second integers, and RFC 3339 strings all appear in the same ecosystem. Allow a small window rather than an equality join. Correlation fails quietly when one source sampled, filtered, or expired: the join returns fewer rows, not an error.

Alert fatigue is the same volume problem in a different costume. A page for every 5xx fires on the aggregate noise floor; a page for every retried batch fires during normal destination maintenance. Alert on sustained rate-of-change and on job health, and keep per-request queries for the investigation.

The tradeoff is not "more data is better." More fields raise export volume, storage cost, and breach radius. Longer retention raises the same three. Redaction lowers investigative resolution. The defensible position is a short hot window with full fidelity, a longer cold window with a narrow schema, and a written statement of what each lane cannot answer.

Design an Evidence Flow From Edge Request to SIEM

The exercise below is design-only and not executed. It uses controlled resources and predicts observations; it does not claim a hosted measurement. The goal is to prove one request can be followed from the edge to an external store, and to prove what happens when the pipe is interrupted.

Guided exercise

Design an Evidence Flow From Edge Request to SIEM

Status: design-only, not executed. Planning baseline 2026-11-02; documentation checked 2026-11-05.

Prerequisites. A zone you control on any plan (Logpush is self-service on Free, Pro, and Business since 2026-09-30). A test hostname whose origin returns 200 normally and 502 with a query parameter. An R2 bucket or HTTPS collector. An API token with Logs Write and Zone Analytics Read. Optional: the Log Explorer add-on for the SQL panel.

Minimal setup. Use the nine-field job from the code widget above: NDJSON, RFC 3339 timestamps, full sampling, and a filter on the test path. Point the destination at an R2 {DATE} prefix or your HTTPS collector. No transformer yet.

StepDo thisExpected
1 · BaselineQuery httpRequestsAdaptiveGroups for the test path over 15 minutesStatus mix recorded before any test traffic
2 · SendSend 20 requests, 5 returning 502; save each cf-ray header20 Ray IDs in hand
3 · WaitAllow one batch cycle, about a minute; five minutes before calling it a failureFiles arrive at the destination
4 · InspectCheck the NDJSON for every Ray ID, RFC 3339 timestamps, and no unexpected fieldsA field omitted from field_names is absent, not null
5 · CompareRe-run the GraphQL queryAgreement within sampling error, not equality
6 · Break itDisable the job, send five requests, re-enable, send five moreThe middle five never arrive
7 · TransformAdd a transformer dropping ClientIP and excluding /healthzFewer rows and bytes than step 4
8 · Clean upDelete the transformer, job, token, test route, and bucket objectsNo lifecycle rule leaves a copy behind

Failure checks. Each symptom names the broken assumption.

  • A missing field usually means a partial PUT replaced output_options.
  • A reversed filter sends everything except the test path.
  • 403 or 1104 ConfigError points at credentials.
  • 1106 or 1108 points at the collector.
  • 1201 FlushMaxLag means the buffer aged out.
  • A timestamp that sorts incorrectly means unixnano survived an API-created job.

Cost dimensions. Export is billed on uncompressed bytes delivered: 25 GB/month internal and 25 GB/month external included, then $0.03/GB or $0.10/GB respectively. Transformation input includes 1 GB, then $0.04/GB. Destination storage is separate. Log Explorer, if enabled, is billed per GB ingested.

Cleanup. Delete the job, transformer, token, route, and bucket objects. Confirm no lifecycle rule left a copy behind.

The important part is step 6. Most teams test the happy path and never test the gap, so they learn about FlushMaxLag during an incident rather than during a drill.

Reconcile a Test Request Across Available Data Sources

The planning baseline is 2026-11-02 and the documentation was re-checked on 2026-11-05. No hosted test was run, no account was provisioned, and no tool version is asserted. The claims below are documentation-derived. Product names, plan gates, retention, and rates should be re-checked before you rely on them.

Pass/fail evidence. Each check has a falsifier, so a failure names the broken assumption.

  • Pass: a request's cf-ray header value appears in the exported NDJSON. Fail: it does not — the job filtered it, sampled it out, or the batch was lost.
  • Pass: EdgeResponseStatus and OriginResponseStatus both appear and can differ. Fail: only one exists — "the edge returned 502" may be an origin failure misread.
  • Pass: the GraphQL count is close to the log count and the difference is explainable by sampling. Fail: they differ by orders of magnitude — the filter, time zone, or dataset scope is wrong.
  • Pass: disabling the job produces a gap visible in the destination and the health dashboard. Fail: nobody notices — health notifications are unset.
  • Pass: an audit entry for a rule change carries an actor, a result, and a resource. Fail: only a generic action appears — you are reading v1, or no v2 job exists.
  • Pass: a partial PUT that omits output_options is caught in review because it resets fields and timestamp format. Fail: it silently changes the production schema.
  • Pass: the destination's lifecycle rule is longer than the incident-response window. Fail: the documented retention and the enforced retention disagree.

Self-check.

  1. The dashboard says 0.4% errors and the customer says checkout is down. Who is wrong? Neither. The dashboard is an aggregate over a bucket; one failing request can be invisible at that grain.
  2. You set sample_rate: 0.1 on a dataset already reporting SampleInterval: 1000. What fraction do you receive? Roughly 1 in 10,000 packets. Customer sampling applies on top of upstream sampling.
  3. A Logpush job was disabled for six hours. Can you replay it from Log Explorer? No. Logpush has no backfill, and Log Explorer is a separate store with its own retention and enablement.
  4. Audit logs are retained 18 months. Why can't you see last quarter in the dashboard? The v2 UI queries the most recent 90 days. Use the API or Logpush for the full window.
  5. The GraphQL count and the log count disagree by 4%. Is that a bug? Not necessarily. Adaptive sampling estimates; the log export is unsampled unless you sampled it.

Unresolved limitations. The exact internal buffering window before 1201 FlushMaxLag is not documented as a fixed duration, so the exercise can show that a gap occurs but not how long a destination may be down before records are dropped. Logpush's duplicate-delivery behavior is not stated as a guarantee in either direction; deduplicating on Ray ID is a defensive design, not a documented promise. Log Explorer's price changes on 2026-12-01, and the pre-change per-GB rate is not stated on the public pricing page. The sampling page's Enterprise sentence conflicts with Logpush's all-plan availability; the resolution is documentation lag, not a product guarantee. Whether every destination honors identical retry and timeout behavior is not verified here — object-storage destinations use their own client libraries and timeouts. No latency, volume, or cost measurement is claimed.

References.

  • Logpush overview — https://developers.cloudflare.com/logs/logpush/
  • Logpush pricing — https://developers.cloudflare.com/logs/logpush/pricing/
  • Logpush API configuration — https://developers.cloudflare.com/logs/logpush/logpush-job/api-configuration/
  • Logpush output options — https://developers.cloudflare.com/logs/logpush/logpush-job/log-output-options/
  • Logpush filters — https://developers.cloudflare.com/logs/logpush/logpush-job/filters/
  • Logpush transformers — https://developers.cloudflare.com/logs/logpush/transformers/
  • Logpush health and retry behavior — https://developers.cloudflare.com/logs/logpush/logpush-health/
  • HTTP Requests dataset fields — https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/zone/http_requests/
  • Observability Logs — https://developers.cloudflare.com/observability/logs/
  • Logs datasets, sizes, and retention — https://developers.cloudflare.com/observability/logs/datasets/
  • Log Explorer — https://developers.cloudflare.com/observability/logs/log-explorer/
  • Log Explorer pricing — https://developers.cloudflare.com/observability/logs/log-explorer/pricing/
  • Log Explorer SQL — https://developers.cloudflare.com/observability/logs/log-explorer/sql-queries/
  • Log Explorer example queries — https://developers.cloudflare.com/observability/logs/log-explorer/example-queries/
  • Log Explorer API — https://developers.cloudflare.com/observability/logs/log-explorer/api/
  • GraphQL Analytics API — https://developers.cloudflare.com/analytics/graphql-api/
  • GraphQL querying basics — https://developers.cloudflare.com/analytics/graphql-api/getting-started/querying-basics/
  • GraphQL sampling — https://developers.cloudflare.com/analytics/graphql-api/sampling/
  • GraphQL limits — https://developers.cloudflare.com/analytics/graphql-api/limits/
  • Web Analytics — https://developers.cloudflare.com/web-analytics/
  • Web Analytics data origin — https://developers.cloudflare.com/web-analytics/data-metrics/data-origin-and-collection/
  • Web Analytics limits — https://developers.cloudflare.com/web-analytics/limits/
  • Audit Logs v2 — https://developers.cloudflare.com/fundamentals/account/account-security/audit-logs/
  • Confidence intervals in GraphQL Analytics — https://developers.cloudflare.com/changelog/post/2025-10-01-confidence-intervals/
  • Logpush usage-based pricing announcement — https://developers.cloudflare.com/changelog/post/2026-09-30-logpush-usage-based-pricing/

Next in the Series

In Observe Workers With Logs, Traces, and Service Objectives, we'll explore Measure runtime failures and user-visible reliability together.