Skip to content
AnswerWell geo Documentation

Research · 9 min read · Answerwell

Log Export Transformers, Pipelines SQL, Pricing and Job Limits

How Cloudflare Logpush pricing, SQL Transformers, Pipelines, batch settings, and destination limits fit together before logs leave the edge.

This page summarizes Cloudflare documentation on Logpush: pushing edge logs to your own storage or analytics tools, reshaping them with Transformers or Pipelines SQL, and what usage-based pricing and hard limits apply along the way.

Logpush availability: which plans can export logs?

Section titled “Logpush availability: which plans can export logs?”

Logpush is available on Free, Pro, Business, and Enterprise plans. Free, Pro, and Business customers can turn it on through self-service; Enterprise customers typically work with their account team.

Cloudflare Logpush is now available on Free, Pro, Business, and Enterprise plans with usage-based pricing. Free, Pro, and Business customers can enable Logpush through self-service. Enterprise customers continue to work with their account team. Logpush Transformers are also now generally available.

— Cloudflare, Logpush is now available on all plans with usage-based pricing

HTTP and product log datasets depend on which Cloudflare products are on your account. The legacy Logpull API remains Enterprise-only, while Logpush itself is not—see the general FAQ.

Workers Trace Events Logpush is different: it requires a Workers Paid plan and uses request-based pricing, not the GB-based Logpush export rates on the main Logpush pricing page.

Logpush pricing: internal vs external export and transforms

Section titled “Logpush pricing: internal vs external export and transforms”

Cloudflare bills Logpush export volume in uncompressed bytes delivered. Files at the destination are often gzip-compressed (roughly a tenth of the uncompressed volume for storage planning), but metering uses uncompressed sizes—see estimating log volume.

Usage component Included per account / month Rate after included
Logs exported to internal destinations 25 GB $0.03 / GB
Logs exported to external destinations 25 GB $0.10 / GB
Transformations (Transformer input) 1 GB $0.04 / GB

R2 and Pipelines count as internal destinations; almost everything else (S3, Datadog, BigQuery, and similar) counts as external. Cloudflare calculates each component separately: billable usage is monthly measured usage minus that component’s included allowance (minimum zero), then multiplied by the rate. A worked example appears in Logpush pricing — Calculate monthly charges.

Logpush rates do not include charges from the destination vendor (for example Datadog or Google Cloud).

How this differs from Log Explorer ingestion

Section titled “How this differs from Log Explorer ingestion”

If you store logs inside Cloudflare with Log Explorer, billing is by indexed/stored volume in GB, not by how often you query. Attack traffic generally counts toward usage; Layer 7 DDoS attack logs are not ingested by default and therefore do not count—see the Log Explorer FAQ. From December 1, 2026, broader logs and traces share a unified Observability pricing model; Log Explorer datasets have a distinct price point ($1 per GB ingested, 30-day retention) described under datasets.

Logpush Transformers: filter and reshape logs before delivery

Section titled “Logpush Transformers: filter and reshape logs before delivery”

Transformers run a single SQL query against each batch of NDJSON records before Logpush sends the batch to your destination. Typical uses: drop noise, redact sensitive fields, rename columns for a warehouse schema, or add static metadata.

Transformers let you run a SQL query against each batch of records before Logpush delivers them to your destination. Use them to filter records you do not want to store, reshape fields to match a downstream schema, redact sensitive values, compute new fields, or add static metadata.

— Cloudflare, Transformers

Transformers are generally available on all plan tiers for supported datasets. You create and preview them in Transformer Studio or via the Transformers API, then attach them to eligible account- or zone-scoped Logpush jobs that use NDJSON output. Cloudflare validates SQL against the dataset schema before saving.

Requirements in practice:

  • One SQL statement per transformer; the FROM table name must match the job’s dataset (for example http_requests).
  • Records that fail the WHERE clause are dropped from the export.
  • A job may use either a legacy filter or a transformer, not both. The dashboard can convert an existing filter into SQL; the API requires you to clear filter and set transformer_id in one update—details under Existing Logpush filters.

Transformation input is metered at 1 GB included per month, then $0.04 per GB—same figures as in the Transformers GA changelog.

Transformers share the Basin Pipelines SQL dialect: projection, WHERE, CTEs, UNNEST, JSON -> / ->>, named_struct, arrays, and scalar functions such as UPPER and to_timestamp—listed under Supported SQL.

The documentation’s HTTP example filters health checks and internal hosts, nests request fields, and derives flags—see Filter and reshape HTTP request records.

If processing fails for a batch, nothing from that batch is delivered, an error is recorded on the job, and Logpush retries on its normal schedule. There is no automatic fallback to raw logs; persistent failures can eventually drop affected records.

If a transformer fails while processing a batch, the batch fails: nothing is delivered for it, an error is recorded on the Logpush job, and Logpush retries the batch on its normal schedule. There is no automatic raw-log fallback.

— Cloudflare, Runtime failures

Check last_error on the job; oversized output and internal errors are common causes. Transformer Studio preview uses the same validation and execution logic as production.

Pipelines SQL: transform logs on the way into Cloudflare storage

Section titled “Pipelines SQL: transform logs on the way into Cloudflare storage”

Pipelines connect streams and sinks with SQL so you can filter, enrich, or restructure events in flight before data is written—often when Logpush targets Pipelines as an internal destination.

Pipelines SQL runs on each log record in-flight, so you can reshape your data before it is written. For example, you can drop noisy fields, redact sensitive values, or derive new columns

— Cloudflare, Transform logs before storage

Pipelines support filtering, field selection, and expressions (for example hashing IPs or filtering EdgeResponseStatus >= 400). Pipeline SQL cannot be modified after creation; you must delete and recreate the pipeline to change logic—see Manage pipelines — Limitations.

Pipelines platform caps include 20 streams, 20 sinks, and 20 pipelines per account, 5 MB max per ingestion request, and 1 GB/s max ingest rate per stream—Basin Pipelines limits. SQL transform pricing for Pipelines is described separately under Pipelines platform pricing.

Question Logpush Transformers Pipelines SQL
When does SQL run? On each batch before export to the job’s destination On each record before write to a Pipelines sink
Typical destination S3, R2, Datadog, BigQuery, etc. Cloudflare-managed stream → sink path (often R2 or downstream analytics)
Billing line item “Logs transformed” on Logpush pricing Pipelines transform pricing; Logpush to Pipelines uses internal export rates

Logpush job API: max_upload_records and batch sizing

Section titled “Logpush job API: max_upload_records and batch sizing”

When you tune a Logpush job through the API configuration documentation, batch size trades destination comfort against file count:

  • Reduce max_upload_records if the destination struggles with large payloads or memory when processing big batches.
  • Increase it for fewer, larger files (common for object storage such as R2 or S3).
  • Destinations with strict payload limits (for example Datadog) may cause Logpush to use smaller effective batch sizes automatically (on the order of 1,000 rows).

Important: destination HTTP limits are not overridden by max_upload_records or max_upload_bytes where the vendor enforces hard caps—see Datadog below.

Destination payload limits: Datadog, BigQuery, and strict vendors

Section titled “Destination payload limits: Datadog, BigQuery, and strict vendors”

Your Logpush batch settings must fit both Cloudflare behavior and the destination’s HTTP limits.

Per HTTP request (uncompressed):

Limit Value
Max payload 5 MB
Max single log 1 MB
Max logs per array 1,000 entries

The above limits are hardcoded defaults. It is not possible to override these limitations using the Logpush configuration values, max_upload_records or max_upload_bytes.

— Cloudflare, Enable Datadog

Logpush will not drop unsent logs, but ingestion can lag after traffic spikes until batches drain.

Default quotas cited for BigQuery streaming inserts:

Limit Value
Max HTTP request (uncompressed, may include headers) 10 MB
Max row size 10 MB
Max rows per request 50,000

Adjust the Logpush job to match, or request quota increases from Google—Enable Google BigQuery.

Section titled “Logpush and related quotas: jobs, Workers, AI Gateway, and live tailing”
  • 4 Logpush jobs per zone maximum; exceeding that returns an error when creating another job—Logpush limits.
  • Usage is measured on uncompressed delivered bytes; quick HTTP request sizing (about 1.5–3 kB per record) is on the same page under quick sizing.

All AI Gateway customers share:

Feature Limit
Logpush jobs 4 per account
Logpush log size 1 MB per log

— AI Gateway limits

Workers logging (context for trace export)

Section titled “Workers logging (context for trace export)”

A single Worker request emits at most 256 KB of log data (console output, exceptions, metadata); beyond that, extra context is not recorded—Workers platform limits — Log size. Workers Trace Events Logpush additionally truncates combined logs and exceptions text at 16,384 characters with explicit truncation markers—Workers Logpush limits.

Instant Logs is for short live sessions: one active session per zone, 60-minute maximum, and the stream stops if you stop listening for more than five minutes—Instant Logs limits.

Common mistakes when sizing exports and transforms

Section titled “Common mistakes when sizing exports and transforms”
  • Estimating bills from compressed file size while Cloudflare meters uncompressed export volume.
  • Attaching a transformer to a CSV Logpush job or a mismatched dataset name in FROM—attachment fails or delivers wrong shapes.
  • Leaving both filter and transformer_id set via API, which returns HTTP 400—migrate filters to SQL in the transformer’s WHERE clause first.
  • Raising max_upload_records for Datadog expecting to override the 5 MB / 1,000-entry caps—it cannot.
  • Assuming failed transformer batches will arrive as raw logs—they retry, then may be dropped if errors persist.
  • Confusing Logpush GB export with Workers Trace Events request pricing or OpenTelemetry event pricing.
  1. In the Cloudflare dashboard, open Logpush for your zone or account and confirm the job destination, dataset, and whether a transformer is attached (NDJSON jobs only).
  2. In Transformer Studio (Transformers), preview SQL against the sample record for your dataset and fix validation errors before attaching to production jobs.
  3. Review Billable Usage and the rates on Logpush pricing against your measured internal vs external export and transformation GB.
  4. For Datadog or BigQuery destinations, compare recent upload batch sizes with the limits in Enable Datadog and Enable Google BigQuery, and inspect the job’s last_error after spikes.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match your experience or the linked Cloudflare docs, email yimasynthetic@gmail.com with the page URL and the exact statement you want clarified.