Cloudflare Adds SQL-Based Logpush Transformers via DataFusion

Wide editorial illustration featuring a central clear glass prism on a slate surface refracting cyan light into golden yellow and deep blue parallel threads against a dark charcoal frame.

Cloudflare has rolled out Logpush Transformers to general availability across all self-serve plans, introducing an in-process SQL engine that allows engineering teams to filter, reshape, and redact log batches directly inside the export pipeline according to reports from Cloudflare and its developer documentation. Previously, data teams often had to deploy and maintain separate microservices to clean telemetry streams before sending them to security information and event management systems, analytics platforms, or object storage.

Under the Hood: Architecture and DataFusion Integration

According to the company's technical disclosures, Cloudflare's initial prototype explored running customer-defined WebAssembly transforms inside Cloudflare Workers, but introducing a remote network hop to the export hot path added latency and potential timeout risks. To prioritize throughput and reliability, engineers instead embedded Apache DataFusion directly into Bufstream, Cloudflare's in-house log delivery service written in Go. DataFusion is a Rust-based query engine built on Apache Arrow, providing vectorized columnar execution. By leveraging Apache Arrow IPC across the foreign function interface, Go and Rust runtimes exchange typed batches efficiently without requiring per-record JSON parsing or cross-runtime memory ownership sharing.

Capabilities, Configuration, and Pricing Structure

Transformers support a wide range of single-statement SQL capabilities, including field projections, common table expressions, unnesting arrays, and building nested JSON structures or scalar transformations via standard SQL functions. Users can write and preview queries using Transformer Studio within the Cloudflare dashboard or manage them programmatically through the API. Documentation notes that each Cloudflare account receives 1 GB of transformation input per month for eligible datasets, with additional input billed at $0.04 per GB. Furthermore, individual Logpush jobs can utilize either a traditional filter or a Transformer, but not both simultaneously, requiring administrators to migrate existing filters into SQL predicates when upgrading their jobs.

Why In-Process Transformation Matters for Observability Pipelines

The release of Logpush Transformers addresses a persistent financial and architectural pain point for organizations managing high-volume telemetry: paying to export, ingest, and store log data that gets immediately discarded upon arrival. By shifting data normalization, sensitive field redaction, and noisy health-check filtering upstream into Cloudflare's delivery infrastructure, teams can drastically reduce downstream data volumes and lower ingestion costs without maintaining dedicated external processing tiers. For observability and security engineering teams, this eliminates complex auxiliary infrastructure while maintaining predictable resource utilization. However, operators must account for failure handling constraints; Transformers are designed to fail closed rather than falling back to raw data delivery, meaning persistently failing jobs will pause exports to protect downstream schema assumptions until issues are resolved. This strict error management ensures that corrupted or misformatted records never silently pollute downstream analytics lakes or SIEM databases, placing the onus on developers to validate SQL syntax and output structures carefully within Transformer Studio prior to production deployment.

AI-generated editorial illustration; not a documentary photograph.

Source: Filter, reshape, and redact logs before export with Transformers · Transformers · Cloudflare Logs docs

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *