Skip to content

Build Not yet confirmed elsewhere1 publisher 2 min read Published

Cloudflare Logpush Transformers run a SQL query on each log batch before export

Cloudflare made Logpush Transformers generally available and opened Logpush to all self-serve plans. The SQL query runs inside a delivery service that Cloudflare says sends more than 110 million records per second to customer destinations.

The Engineer · Build desk

How we use AI Send a correction

Illustration accompanying Cloudflare Logpush Transformers run a SQL query on each log batch before export
Generated illustration

What happened

  • Each Transformer is a SQL query for one Logpush dataset, applied to every batch, where WHERE drops records and the SELECT output becomes the exported record.
  • Output is NDJSON, and a saved Transformer attaches only to a compatible NDJSON Logpush job that uses the same dataset.
  • Customers build and preview Transformers in Transformer Studio or through the API, and every update saves a new version.
  • Logpush exports to SIEMs, analytics platforms and object storage, and the post says preparing records for them often meant a separate service teams had to deploy, scale, monitor and maintain.
  • The worked example filters out two internal hostnames and any path starting /healthz or /metrics.

Why it matters

  • cost The destination-side saving scales with the share of volume a team discards, so a team that drops few records saves little on ingest and storage.
  • constraint Each query targets one dataset and attaches to NDJSON jobs, so a team exporting several datasets maintains one query per dataset and jobs in other formats stay outside Transformers.
  • exposure A redaction regex now decides which sensitive values reach the SIEM or bucket, so a pattern that misses one address format sends those values on unmasked.
  • decision Teams running their own processing service can move rules that fit one SELECT over one batch of one dataset, such as dropping health checks and masking fields. In our view, rules that need earlier batches or other datasets stay in the service.

The cost argument depends on where the filter sits. Logpush applies the query before export [3], so a record the query drops is never delivered, and the destination never ingests or stores it. Cloudflare's stated case is that teams pay to export, ingest and store records they discard as soon as they arrive, and that filtering first can reduce downstream volume and cost [8]. The post's opening sections do not include a price for Transformers, a savings figure or a per-record overhead figure.

The 110 million figure is the rate of the whole delivery service, which runs across hundreds of Kubernetes pods [6]. Cloudflare says the wider pipeline ingests more than one billion events per second [7]. Those are fleet numbers. For them to predict what one customer's job costs, per-record overhead would have to stay flat whether a query only filters or runs a regex on every record.

Cloudflare says it embedded a SQL transformation engine in the export pipeline while keeping performance and resource use predictable [13]. A section heading names Apache DataFusion and Arrow as the execution layer [14]. The text we have ends before it explains how.

The redaction in the worked example is a regex. It rewrites the last two dotted groups of ClientIP, so 203.0.113.42 becomes 203.0.XXX.XXX [9]. The pattern needs a literal dot before each of two digit groups at the end of the string. An IPv6 address has colons and no dots, so as written the pattern would not match one, and regexp_replace would return it untouched [11]. The sample record carries an IPv4 address [9]. Customers can preview a Transformer before attaching it [5], so an IPv6 record in the preview is a cheap test.

The host filter has a similar edge. It is a literal list of two names [10], and a host not on the list is not excluded [12]. Production estates do acquire hostnames. Each edit saves a new version [5], so there is a history of when the list changed.

What to watch

  • Whether Cloudflare publishes Transformers pricing, query limits or per-record overhead, since the post's opening sections include none.
  • Whether Transformers extend beyond NDJSON jobs, which today is the boundary on where a query can attach.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence45
Adoption
Insufficient
Hype gap+10
Incentives
Insufficient
Confidence60
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    During Birthday Week, Cloudflare made Logpush available on all self-serve plans and Transformers generally available.

    Reported Supported Source: Cloudflare blog postView cited source
  2. [2]

    Teams use Logpush to export Cloudflare logs to SIEMs, analytics platforms and object storage; preparing records before they arrive often requires a separate processing service that teams must deploy, scale, monitor and maintain.

    Reported Supported Source: Cloudflare blog postView cited source
  3. [3]

    A Transformer is a SQL query written for a specific Logpush dataset. Logpush applies it to each batch before export; records that do not match the WHERE clause are removed, and the output of the SELECT statement becomes the exported record.

    Reported Supported Source: Cloudflare blog postView cited source

Get this ledger inside ChatGPT. Ask about any of our stories and the answer brings its figure, each claim’s verdict and the sources. Free, no account.

Add to ChatGPTAdd to Claude

Sources

1 independent publisher whose own reporting we read for this story.

  1. blog.cloudflare.com

    1 article · October 12, 2026

    Filter, reshape, and redact logs before export with Transformers

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

Entities

Loading related stories