Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Emits a warning if the pipeline does not have the expected throughput

assert_throughput min_events:int, within=duration, [retries=int]

The assert_throughput operator checks a pipeline’s throughput, emitting a warning if the minimum specified throughput is unmet, and optionally an error if the number of retries is exceeded.

Require 1,000 events per second, failing if the issue persists for 30s

Section titled “Require 1,000 events per second, failing if the issue persists for 30s”
from "udp://0.0.0.0:514" { read_syslog }
assert_throughput 1k, within=1s, retries=30

Last updated: