Filter, reshape, and redact logs before export with Transformers
Web page · https://blog.cloudflare.com/transformers-on-logpush
Logpush now supports Transformers, allowing teams to filter, redact, and reshape log streams using SQL before export. Powered by Apache DataFusion and Apache Arrow, Transformers apply those changes directly to log data before it reaches the destination.
First seen by Oriel on .
AI summary
Cloudflare Transformers adds SQL-based filtering, redaction, and reshaping to Logpush’s export pipeline, executing queries in-process with Apache DataFusion to avoid a separate processing service or network hop.
- Transformers run a dataset-specific SQL query on each batch; WHERE filters records, while SELECT determines the exported NDJSON fields and structure.
- Customers create and preview queries in Transformer Studio or through the API, then attach versioned Transformers to compatible NDJSON Logpush jobs using the same dataset.
- Bufstream converts records to typed Apache Arrow batches and exchanges them with Rust DataFusion through Arrow IPC across a Go/Rust FFI boundary.
- A benchmark processed a synthetic 5,000-row batch in about 3 ms, or roughly 1.6 million rows per second; per-job parallelism supports high-volume workloads.
- Execution fails closed: failed transforms are retried without advancing delivery offsets or sending raw data; persistently failing jobs are delayed and may be disabled automatically. Transformers are available on Free, Pro, Business, and Enterprise plans.
#cloudflare logpush #sql #apache datafusion #apache arrow
Generated by gpt-5.6-sol. Check the original for details.
Aliases
| Source | External ID | URL |
|---|---|---|
| Cloudflare Blog | 01M4HA4SBV0ANTH6C2775H4SSY | https://blog.cloudflare.com/transformers-on-logpush/ Read discussion |