github tenzir/tenzir v7.0.0-rc.9
Tenzir Node v7.0.0-rc.9: A new foundation for security data

pre-release2 hours ago

This release candidate rebuilds Tenzir with a new platform and interface, a new deployment model with configuration management, versioned packages, and live rollout, an MCP server for AI agents, and a built-in assistant. Tenzir Node v6 continues to receive maintenance releases until the migration path is ready.

💥 Breaking changes

Platform and deployments reimagined

Meet the next generation of Tenzir: a rebuilt Tenzir Platform, a new deployment model, an MCP server for your AI agents, and a built-in assistant that helps you along the way.

Want to try it out, ask questions, or share feedback? Join us on Discord at https://discord.tenzir.com/.

New platform and interface. The Tenzir Platform comes with a redesigned web interface for building, running, and observing your pipelines. On the command line, tenzir runs pipelines locally with tenzir run and manages your deployments, configurations, and packages from one place.

Better configuration management. Each deployment runs one configuration that holds its pipelines, packages, and secrets. Edit it in the web interface or with the tenzir command, and always know what a deployment runs.

Versioned packages with dependencies. Packages now have versions and can depend on each other, with a lock file pinning exactly what your deployments run.

Live configuration rollout. The new deployment model applies configuration changes to running deployments live. Change a pipeline, and your deployments pick it up.

MCP. The platform speaks the Model Context Protocol, so AI agents can inspect and manage your deployments and pipelines directly.

Assistant. A built-in assistant in the web interface helps you write TQL, build pipelines, and operate your deployments.

A migration path from Tenzir Node to the new deployment model is planned, but not available yet. Until then, we continue to publish maintenance releases for Tenzir Node v6.

By @aljazerzen, @Avaq, @gitryder, @IyeOnline, @jachris, @lava, @mavam, @raxyte, @tobim, and @zedoraps.

🚀 Features

Add timestamp, label, cache, and variable options to Axiom operators

to_axiom now accepts timestamp_field, timestamp_format, and labels to control how Axiom extracts _time (including dotted field paths and custom Go reference time layouts) and attaches event labels via X-Axiom-Event-Labels.

from_axiom now accepts nocache to bypass Axiom's query cache and variables to pass typed parameters into query= APL queries. For example:

from_file "ocsf-events.ndjson"
to_axiom "security-events",
  token=secret("axiom_token"),
  timestamp_field="time",
  labels={env: "prod"}

By @mavam.

Get help with tenzir help

Run tenzir help to list all commands, and tenzir help <command> for the flags and examples of one, such as tenzir help config apply. This works the same as tenzir --help and tenzir <command> --help, except for run: tenzir help run describes local and remote runs, and tenzir run --help lists the options of a local run.

The examples in the help now show what you can do with each command, starting with a typical session in tenzir help.

By @mavam.

Gzip-compressed request bodies for to_http

The to_http operator has a new compress option that compresses the request body with gzip and sets the Content-Encoding: gzip header. This reduces the bytes sent over the network when the receiving server accepts gzip-encoded request bodies:

to_http "https://example.com/ingest", compress=true {
  write_ndjson
}

The option defaults to false, because many HTTP servers do not decompress request bodies. It works for both streamed and buffered bodies. Streamed bodies remain a single gzip stream whose data the server can decode as each chunk arrives. Combining compress=true with a manual Content-Encoding header is an error.

By @jachris.

Homebrew puts tenzir on PATH

Installing Tenzir with brew install --cask tenzir/tenzir/tenzir now links the tenzir command into Homebrew's bin directory, so it is on your PATH without adding /opt/tenzir/bin by hand. Uninstalling the cask removes the link.

By @mavam.

More pipeline stages run in SentinelOne

from_sentinelone_data_lake now computes more of the pipeline after it in SentinelOne: arithmetic, computed group keys and arguments, the aggregation functions count_if, count_distinct, min, max, sum, mean, stddev, variance, all, and any, and the functions abs, ceil, floor, sqrt, exp, log, to_lower, to_upper, length_chars, trim, trim_start, trim_end, slice, is_empty, year, month, day, hour, and minute. For example:

from_sentinelone_data_lake "https://example.sentinelone.net",
  token=secret("sentinelone-token")
where event.type == "File Rename"
hour = timestamp.hour()
summarize hour, files=count_distinct(tgt.file.name),
  large=count_if(tgt.file.size, v => v > 1000),
  avg_kb=mean(tgt.file.size / 1024)

This pipeline runs as a single PowerQuery:

| filter (event.type == "File Rename")
| let __tenzir_column_0 = number(strftime(timestamp, "%H", "UTC")),
      __tenzir_column_3 = (tgt.file.size / 1024)
| group __tenzir_part_0 = count(((tgt.file.size != null) and (tgt.file.size > 1000))),
        __tenzir_part_1 = sum(__tenzir_column_3),
        __tenzir_part_2 = count(__tenzir_column_3)
  by __tenzir_column_0, __tenzir_distinct_0 = tgt.file.name
| group __tenzir_column_1 = count(__tenzir_distinct_0),
        __tenzir_column_2 = sum(__tenzir_part_0),
        __tenzir_column_4 = (sum(__tenzir_part_1) / sum(__tenzir_part_2))
  by __tenzir_column_0
| limit 1600000

Population stddev and variance rescale PowerQuery's sample stddev with count, all and any use conditional counts, and a single count_distinct uses two group stages excluding null (falling back to approximate estimate_distinct alongside stddev, variance, or a second distinct field). These stages run with SentinelOne's semantics: functions and arithmetic treat null as 0 or "", numbers are doubles, and an aggregation without a group key returns no event for empty input. Use pushdown=false to compute them in Tenzir instead.

By @mavam.

Named bindings in load_balance and each

The load_balance and each operators now accept explicit $name=<expr> bindings, matching group:

load_balance $target=["192.168.0.30:8080", "192.168.0.30:8081"] {
  to_tcp $target { write_json }
}
each $id=case_id, $ip=ip, parallel=4 {
  from_file "events.ndjson" { read_ndjson }
  where src_ip == $ip
  case_id = $id
}

In load_balance, a named binding replaces the implicit $over variable. In each, one or more named bindings replace the implicit $this variable, keep enclosing bindings in scope when nesting each, and let the optimizer push upstream field projections when explicit field expressions replace this. The existing $over and $this shorthands remain supported.

By @mavam.

Named bindings in the group operator

The group operator now accepts one or more $name=<expr> bindings, exposing each key as a scoped $name variable inside its subpipeline:

group $hour=ts.floor(1h), $ip=src_ip {
  summarize first=min(ts), last=max(ts), total=sum(bytes), n=count()
  ts = $hour
  ip = $ip
}

Named bindings avoid packing and unpacking a record through $group, keep an enclosing $group variable accessible in nested group blocks, and preserve the existing single-key group <expr> { ... } shorthand.

By @mavam.

Native input from Apache Iceberg tables

The new experimental from_iceberg operator reads events from Apache Iceberg tables through a REST catalog, using the same catalog, storage, and authentication options as to_iceberg:

from_iceberg "security.ocsf",
  catalog="https://catalog.example.com",
  token=secret("iceberg_token")
where class_uid == 1001 and time >= 2026-07-01
select time, src_endpoint, dst_endpoint
head 100

from_iceberg reads Parquet and Avro data files with schema evolution (column additions, field renames, and type promotions) and Merge-on-Read support (v2 position and equality delete files). Pass decimal_format="float" to decode Iceberg decimal columns as floating-point numbers instead of the default exact "string" representation.

Downstream where, select, and head stages push hints into the operator: conservative hidden-partition and column-metrics pruning skip non-matching manifests and data files while exact TQL predicates still run locally, column projection reads only required columns (including a snapshot-metadata fast path for unfiltered summarize count() queries when the manifest list confirms the row count and zero delete files exist, as well as per-file manifest counting for whole-file tasks without delete files), and head limits stop reading data files as soon as enough matching rows are emitted.

To keep throughput high on tables with many files in object storage, from_iceberg plans manifests in parallel and prefetches upcoming data files concurrently while emitting files in deterministic order, preserving exact checkpoint recovery across restarts.

The operator requests all table snapshots (snapshot-loading-mode=ALL) so point-in-time reads (snapshot_id, as_of, and named branches or tags via ref), bounded incremental append scans (from_snapshot_id, to_snapshot_id), and continuous tailing of new appends (live=true with poll_interval, defaulting to 10s) work across catalogs such as Google BigLake that default to loading only referenced snapshots:

from_iceberg "security.ocsf",
  catalog="https://catalog.example.com",
  live=true,
  poll_interval=30s

By @mavam.

OCSF 1.10.0 support

Tenzir now supports OCSF 1.10.0, the latest stable release, in addition to all earlier stable versions. It also includes preview support for the upcoming OCSF 1.11.0-dev.

By @tenzir-bot.

Read and write Axiom datasets with APL pushdown

The new from_axiom and to_axiom operators query and ingest events through Axiom's regional edge APIs.

to_axiom sends gzip-compressed NDJSON batches to an Axiom dataset and reports rejected events and ingest warnings returned in HTTP 200 responses.

from_axiom reads from a dataset or a raw APL query and pushes downstream where, select, drop, summarize, sort, and head stages into Axiom Processing Language (APL). For example:

from_axiom "http-logs", token=secret("axiom_token")
where status >= 400 and uri.starts_with("/api/")
bucket = _time.floor(5min)
summarize bucket, method, errors = count(), unique_ips = count_distinct(src_ip)
sort -errors
head 10

This runs directly in Axiom as:

['http-logs']
| where (['status'] >= 400)
| where (['uri'] startswith_cs "/api/")
| extend ['__tenzir_column_0'] = bin(['_time'], timespan(300000000000ns))
| summarize ['__tenzir_part_0'] = count() by ['__tenzir_column_0'], ['method'], ['src_ip']
| summarize ['__tenzir_column_1'] = sum(['__tenzir_part_0']), ['__tenzir_column_2'] = countif(isnotnull(['src_ip'])) by ['__tenzir_column_0'], ['method']
| sort by ['__tenzir_column_1'] desc
| take 10

Pushed stages run with APL's native semantics; pass pushdown=false to evaluate them in Tenzir instead.

By @mavam.

Relational join operator

The new join operator combines events from the pipeline input with events produced by a finite right-hand source subpipeline using a hash join.

Specify one or more positional key expressions (key for a shared expression, or lhs == rhs when the left and right expressions differ). Supported kind values are "inner" (default), "left", "semi", and "anti". The right-hand source must finish and fit within max_memory (default 512 MiB) before output begins. By default, "inner" and "left" joins emit {left: ..., right: ...} records; pass into=<field> to attach the matched right event onto the left event instead. Top-level null keys and any NaN keys (including nested NaN) never match.

from_file "alerts.json" { read_json }
join src_ip == ip, kind="left", into=asset {
  from_file "assets.json" { read_json }
}

By @mavam.

Run SPL2 searches with from_splunk

from_splunk now runs SPL2 searches with the new spl2 argument, as an alternative to search for SPL and index. SPL2 searches need Splunk Enterprise 10.2 or Splunk Cloud Platform 10.2.2510 or later.

As for SPL, from_splunk hands Splunk the operators that follow it: where, select, drop, summarize, sort, and head run in Splunk with Splunk's semantics. For example, this pipeline:

from_splunk "https://splunk.example.com:8089",
  spl2=r#"from main where sourcetype == "linux_secure""#,
  earliest="-1h",
  latest="now",
  headers={Authorization: secret("splunk-rest-authorization")}
where user != "root"
summarize user, attempts=count()
sort -attempts
head 20

dispatches the SPL2 search below as the statement $main of a module, and exports its results once the search job is done:

from main where sourcetype == "linux_secure"
| where ('user' != "root")
| stats count() as tenzir_column_0 by 'user'
| sort 20 -'tenzir_column_0'
| head 20
| appendpipe [stats count() as tenzir_groups_0]

Filters that compare _time with a time, and the operators after them, stay in the pipeline, since an SPL2 search may redefine _time. The options argument does not apply to spl2. Use pushdown=false to keep every operator in the pipeline with TQL semantics.

By @mavam.

Sigma rules for generic proxy, web server, and DNS logs on OCSF

The sigma operator now matches more stock Sigma rules against OCSF events. Rules for Sigma's generic proxy and webserver categories match HTTP Activity, and rules for the generic dns category match DNS Activity, from any producer:

title: Google Drive Direct Download
logsource:
  category: proxy
detection:
  selection:
    c-uri|contains|all:
      - drive.google.com
      - uc?id
      - export=download
  condition: selection

Proxy and web server rules read the URL, path, query, host, method, user agent, referrer, status code, byte counts, and endpoint addresses from their OCSF attributes. Fields without an OCSF counterpart, such as c-uri-extension and cs-cookie, skip the rule with a diagnostic that names the field.

By @mavam.

Site-provided tools for Nix builds

Nix builders can mount their build tools at /run/tenzir-build-tools/bin to use them when building Tenzir. Set TENZIR_BUILD_TOOLS before entering a development shell to select a different directory.

By @tobim.

Streaming windowed and periodic snapshot joins

The join operator now also joins two live streams and enriches a stream against a periodically reloaded snapshot, in addition to joining against a finite right-hand source.

Set refresh=<duration> to reload the right-hand subpipeline in the background on a schedule. The operator waits for the initial snapshot, then atomically swaps in each reload that completes cleanly. If a reload fails or exceeds max_memory, the operator emits a warning and keeps the previous snapshot:

subscribe "flows"
join src_ip == ip, kind="left", refresh=15m, into=asset {
  from_file "assets.json" { read_json }
}

Set before, after, or within to correlate events from two unbounded streams within a time window. By default, the window uses arrival time. With on=<expr> or on=<left> == <right>, it uses event time with per-side watermarks, and tolerance absorbs out-of-order events. Use idle_timeout to finalize rows when one stream goes quiet, and pick="latest", "earliest", or "nearest" to emit a single matching right event per left event, for example for backward as-of lookups:

subscribe "flows"
join ip, kind="left", before=1h, on=ts, pick="latest", into=lease {
  subscribe "dhcp"
}

By @mavam.

🔧 Changes

Automatic Google Cloud authentication for Iceberg operators

to_iceberg no longer accepts the gcp_auth option. Google Cloud authentication is now enabled automatically when gcp_service_account_key or gcp_project is set, or when catalog points to an https://*.googleapis.com endpoint (such as Google BigLake) without an explicit token.

In addition, gs:// table locations automatically resolve through native GCS storage unless explicit S3 settings (aws_iam, catalog_aws_service, or s3_endpoint) are configured.

Before:

to_iceberg "showcase.events",
  catalog="https://biglake.googleapis.com/iceberg/v1/restcatalog",
  warehouse="gs://tenzir-demo-iceberg",
  gcp_auth=true,
  gcp_project="tenzir-demo"

After:

to_iceberg "showcase.events",
  catalog="https://biglake.googleapis.com/iceberg/v1/restcatalog",
  warehouse="gs://tenzir-demo-iceberg",
  gcp_project="tenzir-demo"

By @mavam.

Compaction deletes old partitions without reading them

A compaction rule with the pipeline where false now deletes a partition whose events are all older than the rule's cutoff without reading the partition first. Previously, such a rule loaded the entire partition into memory, only to drop every event in it. On nodes with large partitions, this could exhaust memory as soon as the node started.

Partitions that also hold events newer than the cutoff, or events without an import time, still run through the pipeline as before.

By @tobim.

Compressed Google Cloud Pub/Sub publish requests

The to_google_cloud_pubsub operator now compresses publish requests with gzip by default, which reduces the network traffic sent to Google Cloud Pub/Sub. The operator compresses requests of at least 240 bytes and sends smaller requests uncompressed, because compression does not pay off for them. Pub/Sub decompresses the requests transparently, so subscribers receive the original message data.

Use compress=false to restore the previous behavior:

to_google_cloud_pubsub project_id="my-project", topic_id="alerts",
  message=text, compress=false

By @jachris.

Content-skipping filters and limits after from_microsoft_365_activity

from_microsoft_365_activity now uses the operators after it to skip downloads. The Management Activity API cannot filter events, but every event of a content blob carries the same metadata. A where on microsoft_365_activity therefore decides which blobs the operator downloads, and head stops listing and downloading:

from_microsoft_365_activity auth={
    tenant_id: secret("m365-tenant-id"),
    client_id: secret("m365-client-id"),
    client_secret: secret("m365-client-secret"),
  },
  content_types=["Audit.Exchange", "Audit.SharePoint"],
  start_time=2026-06-01T00:00:00Z,
  end_time=2026-06-02T00:00:00Z
where microsoft_365_activity.content_type == "Audit.Exchange"
where microsoft_365_activity.content_created >= 2026-06-01T12:00:00Z
head 1000

This pipeline lists only Audit.Exchange content from 12:00 on, and stops after 1,000 events. The filters keep TQL semantics, so the results stay the same. Use pushdown=false to download every blob.

By @mavam.

Exact distinct counts run in KQL sources

from_microsoft_defender and from_azure_log_analytics now compute count_distinct in the service, such as how many accounts signed in to each computer:

from_azure_log_analytics "SecurityEvent",
  workspace_id=secret("log-analytics-workspace"),
  azure_auth={
    tenant_id: "...",
    client_id: "...",
    client_secret: secret("log-analytics-client-secret"),
  }
summarize Computer, accounts=count_distinct(Account)

KQL computes accounts exactly with count_distinctif(Account, isnotempty(Account)), not with the approximate dcount. Like count, it leaves out empty strings, which KQL holds in place of null. Strings compare case-sensitively. The service fails a query that counts more than 100 million distinct values per group, as well as one that counts dynamic values. Use pushdown=false to count them in Tenzir instead.

By @mavam.

Faster JSON reads with projection pushdown

The read_json, read_ndjson, read_gelf, read_suricata, and read_zeek_json operators now decode only the fields that the rest of the pipeline uses, such as the fields of a downstream select and the fields that a where references.

For example:

from_file "events.ndjson" {
  read_ndjson
}
where status == 500
select id, nested.x

Unselected JSON fields are skipped without decoding their values, and pipelines that need no fields at all, such as summarize count(), count events without decoding them. Validation warnings and schema-mismatch diagnostics for unselected fields may no longer appear, matching read_parquet and read_feather.

By @mavam and @IyeOnline.

Fewer columns read for filters that call functions

The read_parquet and read_feather operators now read only the columns that a downstream filter needs, even when the filter calls a function, such as where string(id) == "1". Previously, such a filter made them read every column.

By @mavam.

Filters move past if and match when every branch keeps them

A where after an if or match now moves above it when every branch keeps the same filter, even if the condition is expensive or the match dispatches on a computed value. This lets filters on common fields, such as a host name, reach the source through OCSF mappings that branch per event type.

By @mavam.

Filters move past match statements that dispatch on computed values

A where after a match whose scrutinee is a computed expression, such as match (name if ready else ""), now moves above the match when it selects a single arm. Previously, such filters stayed behind the match as soon as it had more than one arm.

By @mavam.

Filters move past replace

Filters after replace now move upstream instead of stopping at it, so sources can apply them. This matters for mappings that clean up sentinel values first, such as the Windows OCSF mappings:

from_file "events.json"
replace what="-", with=null
where user.name == "alice"

The where now runs before replace as user.name == "alice", where a source that supports filter pushdown can apply it. This covers scalar comparisons (==, !=, in) combined with and, or, and not over scalar replace operations; other filters—such as function calls, record comparisons, or replacements with records or what=null—stay behind replace so results stay the same.

By @mavam.

Gzip-compressed requests in to_google_cloud_monitoring

The to_google_cloud_monitoring operator now compresses its requests to the Cloud Monitoring API with gzip, which reduces the network traffic it causes. Set compress=false to send uncompressed requests instead.

By @jachris.

Gzip-compressed requests in to_opensearch by default

The to_opensearch and to_elasticsearch operators now compress request bodies with gzip by default, which reduces the bytes sent over the network. OpenSearch and Elasticsearch decompress these requests transparently.

To send uncompressed requests, for example to a proxy that does not support compressed request bodies, set compress=false:

to_opensearch "https://opensearch.example.com:9200",
  action="index",
  index="main",
  compress=false

By @jachris.

Improved performance downstream of read operators

We tuned the size of batches produced by parsers such as read_json, read_csv, and read_syslog. This improves the throughput of the operators that process events downstream of a parser.

By @IyeOnline.

Kafka messages compressed with zstd by default

The to_kafka operator now compresses messages with zstd by default, which reduces the bytes sent over the network. Kafka consumers decompress messages transparently, so no changes are needed on the receiving side. Brokers must run Kafka 2.1 or later to accept zstd-compressed messages.

To keep the previous behavior, set compression.type explicitly, for example options={"compression.type": "none"}, or pick another codec such as lz4. A compression.type or compression.codec in options or in kafka.yaml takes precedence over the default. The bytes-written metrics continue to count the payload before compression.

By @jachris.

KQL sources project fields also without pushdown

With pushdown=false, from_microsoft_defender and from_azure_log_analytics now keep only the fields that the operators after them read, as other sources do. For example:

from_microsoft_defender "DeviceEvents", azure_auth={…}, pushdown=false
where DeviceName == "host-a"
select DeviceName, Id

The query now ends in | project ['Id'] = column_ifexists('Id', dynamic(null)), ['DeviceName'] = column_ifexists('DeviceName', dynamic(null)), while the where and the select still run in Tenzir. Before, the query went out unchanged.

By @mavam.

More aggregation functions run in the source

Sources now hand their targets more aggregation functions of a summarize: count_if, count_distinct, sum, and mean, where the target has an exact equivalent. For example:

from_microsoft_sql table="events", host="db", user="u", password=secret("p"), database="d"
summarize big=count_if(n, v => v > 0), kinds=count_distinct(n), total=sum(id), avg=mean(id)

SQL Server computes this as COUNT_BIG(CASE WHEN (([n] IS NOT NULL) AND ([n] > 0)) THEN [n] END), COUNT_BIG(DISTINCT [n]), SUM([id]), and AVG(CAST([id] AS float)). DuckDB and MySQL compute all but sum, ClickHouse and Hydrolix all four, Splunk all four with count(eval(...)), dc, sum, and avg, and Microsoft Defender and Azure Log Analytics count_if with countif. SentinelOne computes count_distinct exactly via two group stages, falling back to approximate estimate_distinct alongside stddev, variance, or a second distinct field.

By @mavam.

More functions and aggregations run in remote sources

from_duckdb, from_mysql, from_microsoft_sql, from_clickhouse, from_hydrolix, from_microsoft_defender, from_azure_log_analytics, and from_splunk now compute many more functions in the source, in filters and in the groups and arguments of a summarize:

  • Numbers: ceil, floor, and round, which return an int, as well as sqrt, exp, and log, also with a base.
  • Times: year, month, day, hour, minute, and second, and since_epoch in KQL.
  • Strings: capitalize, trim_start, trim_end, replace, is_empty, slice with constant bounds that are not negative, and the hashes hash_md5, hash_sha1, and hash_sha256 of strings.
  • Aggregations: stddev and variance, all and any where the source has booleans, and mean in KQL.
from_clickhouse table="connections", host="localhost"
day = ts.day()
summarize day, deviation=stddev(bytes), dropped=any(blocked)

Which functions a source computes depends on what it can spell. The functions run with the source's own semantics, such as how it rounds floating-point numbers or maps case. KQL sums now yield null instead of 0 when there are no values, and ClickHouse buckets times before 1970 correctly. Use pushdown=false to compute everything in Tenzir.

By @mavam.

Native CloudWatch Logs semantics for operators after from_amazon_cloudwatch

from_amazon_cloudwatch now hands CloudWatch Logs the operators after it that its request can express: filter patterns, time windows, log streams, and limits. They leave the pipeline and run in CloudWatch Logs, with its semantics. For example, this pipeline:

from_amazon_cloudwatch "/aws/lambda/checkout", mode="search"
where "ERROR" in message
where not ("timeout" in message)
where timestamp >= 2026-01-01T12:00:00Z
where log_stream in ["2026/01/01/[$LATEST]abc", "2026/01/01/[$LATEST]def"]
head 100

sends this FilterLogEvents request:

{
  "logGroupName": "/aws/lambda/checkout",
  "logStreamNames": ["2026/01/01/[$LATEST]abc", "2026/01/01/[$LATEST]def"],
  "startTime": 1767268800000,
  "filterPattern": "\"ERROR\" -\"timeout\"",
  "limit": 100
}

With mode="live", where "ERROR" in message or "FATAL" in message becomes the Live Tail pattern ?"ERROR" ?"FATAL". A live read also warns when Live Tail samples the matching events. Use pushdown=false to keep every operator in the pipeline with TQL semantics.

By @mavam.

Native Hydrolix semantics for operators after from_hydrolix

from_hydrolix now hands Hydrolix the operators that follow it in a table read, as from_clickhouse does for ClickHouse: where, select, drop, summarize with count, min, and max, sort, head, and top or rare followed by head, including the operators after a summarize. These operators leave the pipeline and run in Hydrolix with the semantics of its ClickHouse engine. For example, a comparison with NULL yields NULL, so not (n == 1) and s != "a" no longer keep rows where the field is null. Before, from_hydrolix added some filters and summaries to its query and ran everything else in Tenzir.

A query that Hydrolix rejects fails the pipeline with Hydrolix's error, for example when it compares a column with a value of another type. A field that the table lacks in the expected shape, such as an element of a column that is no tuple, fails the read before it runs any query. Both errors suggest pushdown=false, which keeps every operator in the pipeline with TQL semantics:

from_hydrolix "https://acme.hydrolix.live", token=secret("hydrolix-token"), table="logs.events", pushdown=false
where not (severity == 3)

Hydrolix reads only the partitions within the time range that a query sets on the table's primary timestamp. Put a filter on that timestamp directly after from_hydrolix, so that it constrains the table itself:

let $since = now() - 1h
from_hydrolix "https://acme.hydrolix.live", token=secret("hydrolix-token"), table="logs.events"
where timestamp > $since
summarize src_ip, events=count()

A filter after a head or a summarize reads the result of that operator and does not restrict the time range. With pushdown=false, no filter reaches the query, so a cluster that requires a time range rejects it. In that case, read with sql and a query that sets the time range itself.

A field a.b now names the element b of the tuple a, while this["a.b"] names the column a.b. For a table with a catch-all column, Hydrolix runs where, sort, and head on the fields of the reconstructed events, as long as each field comes from a single column, but a select, drop, or summarize fails the read and suggests pushdown=false.

A field below a map column reads the value of its key in Hydrolix. For example, where catchall.class_uid == "1001" reads catchall['class_uid'] from the catchall column of the type Map(String, Nullable(String)), which keeps the fields that Hydrolix's default transform does not map. A missing key yields the default value of the map's values: null for nullable values, so catchall.missing == null holds, but an empty string or 0 otherwise, where Tenzir would see no field. Only maps with string keys have fields that operators can address.

Hydrolix may reject a query that reads a field below a JSON column in one of the subqueries that from_hydrolix generates, for example for a select or for the operators after a head. Use pushdown=false in that case, or write the query yourself with sql, including any SETTINGS that your cluster needs. A query with sql runs as you wrote it, with the settings of your session.

By @mavam.

Native Microsoft Graph semantics for operators after from_microsoft_graph

from_microsoft_graph now hands Microsoft Graph the where, select, and head operators after it as OData query parameters. They leave the pipeline and run in Graph, with Graph's semantics. For example, this pipeline:

from_microsoft_graph "users",
  auth={
    tenant_id: secret("graph-tenant-id"),
    client_id: secret("graph-client-id"),
    client_secret: secret("graph-client-secret"),
  }
where department == "Security"
where accountEnabled == true
select id, name=displayName, mail
head 50

requests a single page:

/v1.0/users?$filter=(department eq 'Security') and (accountEnabled eq true)&$select=id,displayName,mail&$top=50

Graph may silently ignore filters that it does not support, so where becomes $filter only for the resources and properties for which Microsoft documents $filter support. Use pushdown=false to keep every operator in the pipeline with TQL semantics.

By @mavam.

Operators after from_velociraptor stay in the pipeline by design

from_velociraptor now states in the optimized pipeline why it takes over none of the operators after it: a VQL query may have effects, such as collecting artifacts or subscribing to events, that a filter or limit in the query would change, and max_rows only sizes the response batches. The operators after it keep running in the pipeline as before.

By @mavam.

Pipe sources compute the values that a summary reads

from_splunk, from_microsoft_defender, and from_azure_log_analytics now also take over a summarize that groups by or aggregates computed values, such as values that a set before it assigns:

from_splunk "https://splunk:8089", index="main", earliest="-1h", latest="now"
kind = action.to_upper()
summarize kind, events=count()

Splunk computes the key with | eval tenzir_column_0=upper('action') before its stats, and KQL with | extend before its summarize.

By @mavam.

Push more functions and aggregations across remote sources

Federated Search sources now push more TQL functions and aggregations into their target databases and query languages:

  • MySQL and SQL Server push all(x) and any(x) (via MIN/MAX over 0/1) and predicate expressions as group keys or values (via CASE WHEN ... THEN 1 ELSE 0 END), decoding results back to booleans. SQL Server also pushes length_bytes (DATALENGTH) and hash_md5/hash_sha1/hash_sha256 (HASHBYTES).
  • ClickHouse and DuckDB push since_epoch(x) (toUnixTimestamp64Nano in ClickHouse, to_microseconds(epoch_us(x)) in DuckDB).
  • KQL pushes length_bytes(x) (string_size(x)).
  • Splunk (SPL and SPL2) pushes all/any, predicates as values (if(p, "true", "false")), capitalize, replace (with a constant literal needle), slice, year/month/day/hour/minute/second (tonumber(strftime(...))), and whole-second floor time buckets.
  • SentinelOne Data Lake pushes match_regex (matches:matchcase), capitalize, replace (case-insensitive regex with a constant literal needle and replacement), millisecond-precision second (number(strftime(x, "%S.%f", "UTC"))), and predicates as native boolean values in PowerQuery.

For example, from_splunk now computes b = floor(_time, 1h) and a = all(ok) directly in Splunk as strftime(floor('_time' / 3600) * 3600, "%Y-%m-%dT%H:%M:%S%z") and min(eval(case('ok'=="true", 1, 'ok'=="false", 0))), and from_microsoft_sql computes h = s.hash_sha256() as LOWER(CONVERT(varchar(64), HASHBYTES('SHA2_256', [s]), 2)).

Pushed expressions run with the target's native semantics; pass pushdown=false to evaluate them in Tenzir instead.

By @mavam.

Pushed-down aggregations follow the target's semantics

The aggregations and functions that from_azure_log_analytics and from_microsoft_defender compute in KQL now follow KQL's semantics instead of imitating TQL's. For example, summarize total=sum(x) now runs as sum(['x']), which yields 0 without values, and mean runs as avg, which yields NaN. sqrt and log yield NaN and -Infinity outside their domain, count_distinct counts empty strings as values, and count(x) counts the values that are not null, including empty strings.

The same holds for ClickHouse, DuckDB, and SQL Server: without values, ClickHouse's min, max, and sum yield the default value of their type, all and any yield null in ClickHouse and DuckDB, and DuckDB and SQL Server fail a query that takes the root of a negative number or the logarithm of zero. Use pushdown=false to compute these in Tenzir instead.

By @mavam.

Sink byte metrics count the delivered payload

Sink operators now report the bytes they write consistently: the payload before any compression they apply, counted once it was delivered, and once however many retries it took. Together with sources, which report the bytes they read, this makes the bytes going into and out of a pipeline comparable.

For example, to_splunk, to_hydrolix, to_opensearch, to_prometheus, to_google_secops, to_azure_log_analytics, and to_sentinelone_data_lake now count the request body before compressing it, and only once the destination accepted it. to_google_secops counts nothing in dry_run mode. to_google_cloud_logging counts entries once Cloud Logging accepted them, to_http with buffer_all counts the body once the request succeeded, and to_kafka counts a message once the brokers acknowledged it.

By @mavam.

SQL sources compute the values that a summary reads

SQL sources now take over a summarize that reads computed values, including values that a set before it assigns. from_duckdb, from_mysql, from_microsoft_sql, from_clickhouse, and from_hydrolix then compute those values with the semantics of the database:

from_duckdb "events.duckdb", table="events"
level = severity * 2
summarize src_ip, worst=max(level)

DuckDB computes worst as MAX(("severity" * 2)). An assignment that the summary does not read keeps the operators in the pipeline if it may fail, such as a function call.

By @mavam.

Sums run in DuckDB and MySQL, and time buckets in MySQL

from_duckdb and from_mysql now compute sum in the database, and from_mysql also computes time buckets with floor:

from_mysql table="connections", host="localhost", database="net"
hour = floor(ts, 1h)
summarize hour, bytes=sum(bytes)

Both databases widen a sum of integers beyond 64 bits, as a HUGEINT in DuckDB and a DECIMAL in MySQL. The sum still arrives as an int, and like in TQL, a sum that exceeds 64 bits becomes null with an "integer overflow" warning. A sum of floating-point numbers stays a float.

MySQL buckets DATETIME and DATE values by multiples of the width since the epoch, as TQL does, also before 1970, and the buckets arrive as times. Like comparisons with time literals, the buckets treat the values as UTC. Widths below a microsecond and multiples of a week or a month stay in the pipeline.

By @mavam.

Tighter time ranges from filters

Sources that narrow the time range of their requests to the filters after them now share one reading of those filters. A strict bound now excludes its time, so from_splunk requests latest_time=1735689720 instead of 1735689721 for where _time < 2025-01-01T00:02:00Z. from_microsoft_365_activity now also narrows the listing to the range that encloses an or, such as for where microsoft_365_activity.content_created >= 2024-01-02 or microsoft_365_activity.content_created == 2024-01-01, and narrows the side of an == that it can represent.

By @mavam.

Time buckets run in KQL sources and SentinelOne

from_microsoft_defender, from_azure_log_analytics, and from_sentinelone_data_lake now compute time buckets with floor in the service, such as for the groups of a summarize. Only the buckets travel to Tenzir, not the events in them:

from_sentinelone_data_lake "https://<tenant>.sentinelone.net",
  token=secret("sentinelone-token"),
  start=2026-11-16T00:00:00Z,
  end=2026-11-17T00:00:00Z
bucket = floor(timestamp, 7h)
summarize bucket, events=count()
sort bucket
{bucket: 2026-11-15T19:00:00Z, events: 12744}
{bucket: 2026-11-16T02:00:00Z, events: 45996}
{bucket: 2026-11-16T09:00:00Z, events: 44480}
{bucket: 2026-11-16T16:00:00Z, events: 44221}
{bucket: 2026-11-16T23:00:00Z, events: 6378}

On a test tenant, this pipeline summarizes a day of some 150,000 events in about 6 seconds. With pushdown=false, reading the same events into Tenzir took longer than the default timeout of 3 minutes. Over shorter windows, both produce the same buckets.

SentinelOne computes bucket with timebucket(timestamp, "25200s"), and KQL with bin, as in bin(TimeGenerated, timespan(36000000000tick)) for floor(TimeGenerated, 1h). The buckets count from the epoch, as in TQL, also before 1970. KQL's bin counts from 0001-01-01, which agrees with the epoch only for some widths, such as those that divide two days, so other widths stay in the pipeline for Defender and Log Analytics. Widths that are multiples of a week or a month stay in the pipeline everywhere, since TQL aligns them to the calendar, and so do widths below a second in SentinelOne.

A timespan literal of more than 2^53 ticks, some 28 years, now stays in the pipeline, since KQL reads it inexactly.

By @mavam.

Time buckets run in SQL sources

from_duckdb, from_microsoft_sql, from_clickhouse, and from_hydrolix now compute time buckets with floor in the database, such as for the groups of a summarize:

from_clickhouse table="events", host="localhost"
hour = floor(time, 1h)
summarize hour, events=count()

The buckets count from the epoch, as in TQL, also before 1970. ClickHouse computes hour with flooring division of toUnixTimestamp64Nano, and SQL Server with DATE_BUCKET(second, 3600, …, CAST('1970-01-01' AS datetime2(7))), which needs SQL Server 2022. Widths that are multiples of a week or a month stay in the pipeline, since TQL aligns them to the calendar, and so do widths below a second in SQL Server.

By @mavam.

to_clickhouse compresses inserted data by default

The to_clickhouse operator now compresses the data it inserts with ZSTD, which reduces network traffic to ClickHouse at a moderate CPU cost. ClickHouse decompresses the data transparently, so existing pipelines keep working without changes.

Use compress=false to send uncompressed data, for example when Tenzir and ClickHouse run on the same host:

to_clickhouse table="events", compress=false

By @jachris.

to_google_cloud_logging compresses requests by default

The to_google_cloud_logging operator now compresses its write requests to Google Cloud Logging with gzip by default. Cloud Logging decompresses the requests transparently, so this reduces network egress without changing the ingested log entries.

Use the new compress=false option to send uncompressed requests, for example when CPU usage matters more than network traffic.

By @jachris.

Truncated Log Analytics results warn instead of failing

When a query result exceeds the Log Analytics record count or data size limit, by default 500,000 rows or 64 MiB, the service returns the rows it kept together with a partial error. from_azure_log_analytics now emits these rows with a single warning instead of failing the pipeline:

warning: the result is incomplete
  = note: Log Analytics truncates a result beyond its record count or data size limit, by default 500,000 rows or 64 MiB
  = hint: narrow the query or its time range, return fewer columns, or limit or aggregate rows in the query, for example with `take` or `summarize`

Other partial errors, such as overflows or queries that exceed their memory budget, still fail the pipeline because their rows may be incorrect.

Results with more than about two million values no longer fail with "result exceeds the decoded value limit". Every result within the service's limits now decodes.

By @mavam.

Warning when accept_tcp reaches its connection limit

The accept_tcp and accept_unix_socket operators now emit a warning when all max_connections slots are in use. While the limit is reached, new clients wait until an open connection closes, which previously happened without any notice:

warning: reached the connection limit of 128
  = note: endpoint: 0.0.0.0:514
  = note: new connections wait until an open connection closes
  = hint: increase `max_connections` to accept more concurrent clients

The warning repeats at most once every five minutes.

By @tobim.

🐞 Bug fixes

A where after from_http sees every event

A where after from_http now also applies to the events that error_field produces. Previously, these events passed the filter unchecked.

Lambda and OData pagination no longer stop early when a downstream where drops the events of a page. Previously, from_http stopped fetching further pages because the filtered page appeared to have no events to paginate from.

By @mavam and @IyeOnline.

accept_tcp closes connections to vanished peers

The accept_tcp operator now detects clients that disappeared without closing their connection, for example because a NAT gateway or firewall dropped the connection state or the client host lost power. Previously, such connections stayed open indefinitely and kept occupying one of the max_connections slots, so the operator could eventually stop accepting new clients.

The operator now enables TCP keepalive on accepted connections and closes a connection when its peer does not respond for about five minutes. Clients that are connected but idle are not affected.

By @tobim.

Accurate CPU times, start times, and memory sizes from processes on Linux

On Linux, the processes operator reported utime and stime in whole seconds, which showed a mostly idle process as using no CPU at all, and left startup empty. It also reported peak_mem and swap in kilobytes rather than bytes, unlike rsize and vsize. The operator now reports CPU times to the millisecond, the time each process started, and all memory sizes in bytes.

By @mavam.

Count shared import batches once against the buffer limit

The tenzir.max-buffered-bytes limit now counts each batch of imported events once. Previously, a batch with events of several shapes counted once per shape, so the node flushed partitions long before the limit was actually reached and created many small partitions.

The node now creates fewer, larger partitions. Because the limit now reflects the memory that buffered events actually use, the node holds more events in memory before writing them to disk. To keep imports flowing, the node starts writing partitions at 80% of the limit and only slows down imports once the limit itself is reached.

By @tobim.

Empty string partition values in to_iceberg

Readers of a table that to_iceberg writes now find the rows of a string partition when one of its values is the empty string. Previously, such a value removed the lower bound of the partition from the manifest list. Readers such as PyIceberg then skipped the manifest, so a filter like k = 'a' returned no rows, even for values other than the empty string.

By @zedoraps.

Exact fractional seconds in parsed times

Time literals and parsed time strings could be off by a nanosecond, as their fractional seconds went through a floating-point number that holds them only approximately. For example, 2024-01-01T00:00:00.000001 meant 2024-01-01T00:00:00.000000999. Such times now mean exactly what they spell, in literals, in time(), and in parsers such as read_syslog.

By @mavam.

Faster from_mysql on large result sets

The from_mysql operator now reads query results in larger blocks instead of making two network reads per row. This makes reading large result sets faster and reduces the load on network threads that other pipelines share.

By @jachris.

Faster from_splunk on large result sets

The from_splunk operator now splits Splunk responses into results in time linear in the response size. Previously, a response chunk with many results took time quadratic in their number to process.

By @jachris.

Kafka consumers stay in their group under backpressure

The from_kafka operator now stays in its consumer group when downstream operators block for longer than max.poll.interval.ms. Previously, the consumer left the group after the poll interval, offset commits failed with Unknown member, and the pipeline stopped with unexpected kafka error.

When the operator gets partitions back after a rebalance, it no longer commits offsets of records it read before the rebalance. Those offsets could move the group's position behind the progress of another consumer. Records whose offsets are skipped are delivered again, in line with at-least-once delivery.

If the poll interval is still exceeded, the error now says that the consumer left its group because it did not poll within max.poll.interval.ms.

By @zedoraps.

Kafka operators no longer crash at shutdown with debug logging

Pipelines using from_kafka or to_kafka no longer crash with a segmentation fault when they shut down while the librdkafka debug option is set, as in options={"debug": "generic"}. The pipeline finished its work, but the process then crashed while it tore down the Kafka client.

Setting debug also no longer floods the pipeline with warnings. Previously, every librdkafka log line, including debug output, became a warning diagnostic such as warning: librdkafka debug: .... Now only librdkafka warnings and errors become diagnostics. Less severe log lines go to the Tenzir log instead: debug output at the debug level, and notices and informational messages at the verbose level. The log also reports at the verbose level when a broker throttles the client. To see the output of the debug option, raise the log verbosity accordingly, for example with --console-verbosity=debug.

By @zedoraps.

Lower CPU usage for subscribe

The subscribe operator uses less CPU. Its schema_id metrics values now match those reported by measure events and type_id(this) instead of legacy schema fingerprints.

By @IyeOnline.

Lower CPU usage of from_nic on busy interfaces

The from_nic operator no longer copies all packets it has buffered so far whenever it captures another packet. On busy interfaces, this made packet capture far more CPU-intensive than necessary and could delay other network I/O in the same process.

By @jachris.

NATS operators use a thread of their own

The from_nats and to_nats operators now handle their connections on a dedicated thread. Previously, a busy NATS connection kept a network thread that other pipelines share occupied, and adding or removing events of a connection from another thread was not properly synchronized.

By @jachris.

Non-ASCII varchar text from SQL Server

from_microsoft_sql now decodes varchar, char, and text values by the code page of their collation, so non-ASCII text such as élan arrives as valid UTF-8 instead of raw code page bytes. Previously, string functions in the pipeline returned null for such values.

By @mavam.

Package hints name the tenzir command

When a workspace's lock is unreadable, misses a dependency, or names a package that is not fetched yet, the hint now tells you to run tenzir package lock or tenzir package fetch instead of the tenzir-platform variants, matching the unified tenzir command of Tenzir 7.

By @mavam.

Parallelism max respects container CPU limits

A degree of parallelism of max now respects the CPU limit of a container. Previously, it used the number of CPUs of the host, so a container limited to 2 CPUs on a 64-core host ran 64 instances of every parallelizable operator. Now max is the number of CPUs that the process may run on, capped by the CPU quota of its cgroup and rounded up.

By @jachris.

Partition values with special characters in to_iceberg

The to_iceberg operator now writes data files that from_iceberg and other engines can read when a partition value contains a character that the partition path percent-encodes, such as a space or a slash. The operator stores such a file under the literal location that the table metadata records, for example …/k=a%20b/…. Files that an earlier version stored under the decoded name remain readable.

By @zedoraps.

Platform connection drops behind load balancers and under load

Nodes no longer lose their connection to the Tenzir Platform every few minutes when a load balancer or proxy with an idle timeout sits between the two. The node now sends a WebSocket ping every 20 seconds. Previously, it could stay silent for a full minute, so a load balancer with a 60-second idle timeout dropped the connection again and again, and the node logged platform plugin received an unexpected error: End of file.

Nodes also keep the connection while they answer many requests at once, for example when a dashboard loads. Previously, this could corrupt the encrypted connection. The node then logged unexpected error: unspecified system error or stream truncated and briefly appeared as disconnected in the app.

By @tobim.

Stalled connections no longer block other connections in accept_tcp

The accept_tcp and accept_unix_socket operators keep reading from all other connections when the subpipeline of one connection stops taking data. Previously, a single stalled connection made the operator stop reading from every connection and stop accepting new ones, so clients saw the listener hang even though most of the pipeline had capacity left.

Each connection now applies backpressure only to its own socket. When the entire pipeline after the operator falls behind, all connections still slow down together, as before.

By @tobim.

Support for x86-64 CPUs without AVX2

Tenzir now runs on x86-64 CPUs that lack AVX2, such as Intel Ivy Bridge. Previously, the static Linux release and the container images aborted with an Illegal instruction error at startup on these machines.

Tenzir still requires SSE4.2, which Intel CPUs support since Nehalem (2008) and AMD CPUs since Bulldozer (2011). On CPUs that support AVX2, performance-critical code paths still detect and use it at runtime.

By @tobim.

Syslog keeps repeated structured-data parameters

The read_syslog operator and the parse_syslog function again collect the values of a structured-data parameter that repeats within an element into a list, as RFC 5424 allows. Since the move to the new event builder, only the last value survived. Check Point repeats its match-table fields, such as layer_name and rule_action, once per matching policy layer:

from {
  line: r#"<134>1 2026-11-22T10:00:00Z gw CheckPoint 1 - [layer_name:"Network"; layer_name:"Application"]"#,
}
select sd = line.parse_syslog().structured_data
{
  sd: {
    checkpoint_2620: {
      layer_name: [
        "Network",
        "Application",
      ],
    },
  },
}

A parameter that occurs once stays a single value, so the same field can be a single value in one event and a list in another. Parameters under a repeated SD-ID also collect into a list instead of keeping the last value. A schema that declares such a field as a list receives all values. A schema that declares it as a single value receives null and a warning.

The Check Point dialect also accepts records that it previously rejected:

  • Keys of 32 or more characters, such as script_value_for_one_time_scripts.
  • A final ; or spaces before the closing ], as in Harmony Endpoint exports.
  • A tab between a structured-data element and the message.

By @zedoraps.

Table creation on Amazon S3 Tables in to_iceberg

The to_iceberg operator now creates tables in an Amazon S3 Tables catalog. Previously, creating a table failed with the error stage-create is a required field and cannot be null, while appending to an existing table worked.

By @zedoraps.

to_udp shares its I/O thread fairly

The to_udp operator now pauses every 256 datagrams to let other network I/O on the same thread proceed. Previously, a large batch of events delayed network traffic of other pipelines until all of its datagrams were sent.

By @jachris.

Uninterrupted ingestion during rebuilds with many schemas

Ingestion no longer stalls for minutes while a rebuild runs on a node that stores many distinct schemas.

Previously, while a rebuild was in progress, the node spent over a second choosing its next batch after every newly written partition. On a node with hundreds of schema variants and around 100,000 partitions, this kept the partition bookkeeping fully busy, so incoming events piled up and sources stopped receiving data until the rebuild finished.

By @tobim.

Zeek TSV round trip with write_zeek_tsv and read_zeek_tsv

The output of write_zeek_tsv now reads back with read_zeek_tsv. Previously, reading a log with a time or interval column failed, because write_zeek_tsv did not write these values as Zeek does. It now writes times and intervals as seconds, as in 1794812400.123456, omits the zeek. prefix of the schema name in #path, and ends the log with a #close line.

Numbers that round up to the next whole number, such as 0.99999999996, no longer print as 0.1 in write_lines, and intervals such as 0.9999996s no longer print as 0.100000 in write_zeek_tsv.

By @mavam.

Don't miss a new tenzir release

NewReleases is sending notifications on new releases.