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: what it does and when to use it
Section titled “Logpush: what it does and when to use it”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.
Logpush vs Log Explorer vs Instant Logs
Section titled “Logpush vs Log Explorer vs Instant Logs”| 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 LogsNEL Reports,Page Shield Events,Spectrum Events,Zaraz EventsAccount 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.
Product-specific dataset pointers
Section titled “Product-specific dataset pointers”| 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.
Common destination patterns
Section titled “Common destination patterns”- Object storage: Amazon S3 (commercial AWS identities cannot assume roles into GovCloud—use S3-compatible endpoints and access keys there), Google Cloud Storage, S3-compatible endpoints (Backblaze B2, DigitalOcean Spaces, and others), Cloudflare R2
- SIEM / analytics: Splunk HEC (pairs with the Cloudflare App for Splunk), Elastic (HTTP endpoint, S3 polling, or S3 SQS—Elastic recommends SQS mode), Datadog, New Relic, SentinelOne HEC
- Enterprise analytics programs: Analytics integrations (Datadog, Prometheus, Graylog, New Relic, Splunk, Sentinel) are often built on Logpush into S3 or GCS buckets.
- Custom or unlisted providers: Enable other providers and Third-party integrations (Axiom, Taegis, Exabeam, and others)
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).
No backfill; job health is critical
Section titled “No backfill; job health is critical”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.).
Legacy pull alternative (Logpull)
Section titled “Legacy pull alternative (Logpull)”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”- Filters: Internal DNS Logpush jobs can filter to a specific internal zone or view ID (Internal DNS analytics). CrowdStrike architecture examples mention Logpush filters forwarding selected HTTP, DNS, and firewall events (CrowdStrike reference architecture).
- Pricing / availability: Zero Trust Logpush is available to all customers; dataset availability depends on subscribed products (Zero Trust Logpush). Enterprise DNS firewall logs export via DNS Firewall analytics.
- Parsing: After download, logs are JSON lines suitable for
jqor a full analytics stack (Parse Cloudflare Logs JSON data).
Common mistakes when exporting Cloudflare logs
Section titled “Common mistakes when exporting Cloudflare logs”- Expecting Logpush to backfill after a misconfigured or disabled job—gaps are permanent (Logpush).
- Correlating file timestamps with client request time without accounting for batch processing delay (General FAQ).
- Forgetting destination firewall rules—Logpush traffic must reach your bucket or HEC endpoint (Enable destinations).
- Choosing the wrong dataset scope—for example zone
http_requestsvs accountgateway_httpfor Zero Trust HTTP inspection (Datasets). - 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).
- Relying on dashboard retention for compliance when the plan stores Access or Gateway logs for days, not years—export via Logpush (Cloudflare One Logs).
How to check this on your site
Section titled “How to check this on your site”-
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.
-
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.
-
Open Logpush Health Dashboards and confirm jobs report successful delivery, not prolonged failure states.
-
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.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”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.