Skip to content
AnswerWell geo Documentation

Research · 8 min read · Answerwell

Logpush Export: Datasets, Destinations, Limits and Health

How Cloudflare Logpush exports event logs to storage and SIEMs: datasets, destinations, timing, failures, and how it differs from Log Explorer.

This page summarises Cloudflare documentation on Logpush: the service that delivers batched request and event logs from Cloudflare products to your own storage, SIEM, or log management provider. It is aimed at operators who need long-term retention, correlation with application logs, or compliance exports—not for live tailing in the dashboard (that role belongs to Instant Logs and in-product Logs).

Logpush forwards metadata that Cloudflare products generate—HTTP requests, firewall actions, DNS queries, Access events, and many others—to destinations you control. Cloudflare Logs describes these records as detailed logs useful for debugging, configuration review, and analytics, especially when combined with origin-server logs.

Push your request or event logs to your cloud service provider using Logpush, which can be configured via the Cloudflare dashboard or API.

— Cloudflare, Cloudflare Logs

Logpush delivers logs in batches as quickly as possible, with no minimum batch size, potentially delivering files more than once per minute. This capability enables Cloudflare to provide information almost in real time, in smaller file sizes.

— Cloudflare, Logpush

Use Logpush when you need automated, ongoing export to Amazon S3, Google Cloud Storage, Splunk, Datadog, Elastic, Cloudflare R2, or another supported target listed under Enable destinations. For quick search inside Cloudflare without standing up a pipeline, see Log Explorer instead.

Capability Logpush Log Explorer Instant Logs
Primary goal Export raw logs externally Search and analyse in dashboard/API Live HTTP stream in dashboard or CLI
Storage/search by Cloudflare No Yes (managed datasets) No (stream only)
Typical use SIEM, warehouse, long retention Investigation, dashboards Attack triage, config testing

Log Explorer lets you search and analyze your Cloudflare logs directly in the dashboard or via API. Logpush, on the other hand, delivers raw logs to third-party SIEMs or storage systems. You generally do not need both, but some customers choose to use these datasets for quick investigation and Logpush for long-term storage or integration with other tools.

— Cloudflare, Log Explorer FAQ

Observability export also notes that OpenTelemetry is the path for Workers observability traces and some telemetry—not a substitute for product Logpush datasets.

Logpush job datasets: zone scope and account scope

Section titled “Logpush job datasets: zone scope and account scope”

A Logpush job selects one dataset (log type) and one destination. What you can enable depends on your products and plan; field lists live under Datasets and the fuller Supported datasets table (identifiers, enablement level, average size, default retention).

Zone-scoped datasets (per hostname / zone)

Section titled “Zone-scoped datasets (per hostname / zone)”

Zone jobs cover edge and zone-bound telemetry. Examples from Zone-scoped datasets:

  • HTTP Requests, Firewall Events, DNS Logs
  • NEL Reports, Page Shield Events, Spectrum Events, Zaraz Events
  • Account Abuse Protection Events, WebSocket Analytics

Manage datasets lists overlapping Log Explorer zone datasets (http_requests, firewall_events, dns_logs, and others).

Account-scoped datasets (organization-wide)

Section titled “Account-scoped datasets (organization-wide)”

Account jobs cover Zero Trust, audit, and cross-zone product events. The Account-scoped datasets list includes, among others:

  • Zero Trust / Gateway: Gateway DNS, Gateway HTTP, Gateway Network, Zero Trust Network Session Logs, Access Requests
  • Security / posture: CASB Findings, Device Posture Results, DNS Firewall Logs, Page Shield Events (also zone)
  • Administration: Audit Logs, Audit Logs v2 (use Audit Logs v2 fields when exporting admin activity)
  • Operations: Workers Trace Events, AI Gateway Events, DEX Application Tests, DEX Device State Events

Zero Trust Logpush integration documents dashboard-visible logs plus extra datasets only available via Logpush—for example Browser Isolation User Actions and SSH Logs.

Need Dataset / doc
Client-side security rule hits page_shield_events — Content security rule violations
API Shield web asset labels on requests http_requests fields WebAssetsOperationID, WebAssetsLabelsManaged — Endpoint labeling
Zaraz tagging server events zaraz_events — Send Zaraz logs to Logpush
Enterprise DNS query detail dns_logs — DNS analytics
Internal DNS filtered export Logpush filters by zone or view ID — Internal DNS analytics
Remote browser isolation Mix of Access, Gateway, session logs; user actions only via Logpush — Clientless Web Isolation logs

Enable destinations: storage, SIEM, and network requirements

Section titled “Enable destinations: storage, SIEM, and network requirements”

Enable destinations is the hub for turning on push to storage, SIEM, or log platforms. Configuration is available in the dashboard or API; Logpush examples cover cURL and Python job management.

Enable pushing logs to your storage service, SIEM solution, or log management provider.

— Cloudflare, Enable destinations

Before logs arrive: allowlisting and egress

Section titled “Before logs arrive: allowlisting and egress”

Your destination must accept traffic from Cloudflare. The same page notes that you should allowlist IP addresses for incoming Logpush traffic (see Cloudflare IPs in their docs). For a fixed source IP, Dedicated Egress IP for Logpush is listed among destination options.

Log files are gzip-compressed. When pulling from GCS, decompressive transcoding may return uncompressed bytes unless the client sends Accept-Encoding: gzip—see Enable Google Cloud Storage. R2 downloads via the AWS CLI are also gzipped per Enable Cloudflare R2.

Customer Metadata Boundary states that Logpush can push customer logs to your own storage or SIEM as part of log management under data localization controls.

Logpush limits: timing, backfill, and data loss

Section titled “Logpush limits: timing, backfill, and data loss”

Understanding limits prevents false assumptions during incidents and audits.

Delivery timing (not wall-clock request time)

Section titled “Delivery timing (not wall-clock request time)”

When using Logpush, logs are pushed in batches as soon as possible. For example, if you receive a file at 10:10, the file consists of logs that were processed before 10:10.

— Cloudflare, General FAQ

Push frequency is automatic and cannot be tuned for speed; batch size can be adjusted via API when a destination requires it (Logpush). Logs Engine troubleshooting notes delivery is generally under one minute after batching, but timings are guidelines, not guarantees.

Empty files or gaps do not always mean no traffic—they reflect processing batches:

Yes. The time period for which you pull or receive logs is based on our processing time, not the time the requests passed through our network.

— Cloudflare, General FAQ

HTTP request logs exist only after a request reaches the Cloudflare proxy; failed TCP/TLS handshakes are absent (General FAQ).

Logpush only pushes logs once as they become available and cannot backfill historical data. If your job is disabled or fails, logs generated during that period are permanently lost. This is why configuring health notifications is essential for early detection of issues.

— Cloudflare, Logpush

Logpush does not store or search logs—only forwards them (Logpush). Monitor jobs via Logpush Health Dashboards; a log line is defined there as a single Cloudflare-generated entry (HTTP request, DNS query, Access event, etc.).

Logpull is a REST pull API for HTTP request logs (Enterprise). Cloudflare marks it legacy and recommends Logpush or Logs Engine. Retention when pulling is roughly 3–7 days (Logpull API FAQ); longer history requires export via Logpush. Enabling log retention applies to Logpull, not Logpush delivery semantics.

Filters, pricing, and parsing exported files

Section titled “Filters, pricing, and parsing exported files”

Common mistakes when exporting Cloudflare logs

Section titled “Common mistakes when exporting Cloudflare logs”
  1. Expecting Logpush to backfill after a misconfigured or disabled job—gaps are permanent (Logpush).
  2. Correlating file timestamps with client request time without accounting for batch processing delay (General FAQ).
  3. Forgetting destination firewall rules—Logpush traffic must reach your bucket or HEC endpoint (Enable destinations).
  4. Choosing the wrong dataset scope—for example zone http_requests vs account gateway_http for Zero Trust HTTP inspection (Datasets).
  5. Treating R2 Data Access Logs like Logpush HTTP logs—R2 access logging is a separate product with async best-effort delivery and status-code filters (R2 Data Access Logs).
  6. Relying on dashboard retention for compliance when the plan stores Access or Gateway logs for days, not years—export via Logpush (Cloudflare One Logs).
  1. In the Cloudflare dashboard, open Logpush (or follow Enable destinations) and confirm each required dataset has an active job pointing at the correct bucket or HEC endpoint.

  2. Verify new objects or events arrive within the batching behavior described in the General FAQ and Logpush overview after you generate test traffic through the proxied hostname.

  3. Open Logpush Health Dashboards and confirm jobs report successful delivery, not prolonged failure states.

  4. Download one gzip file from your destination, decompress it, and validate JSON fields with the guidance in Parse Cloudflare Logs JSON data; for R2-hosted exports, see Enable Cloudflare R2.

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

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are questioning so it can be corrected.