Skip to main content

stdout subscriber

Writes enriched events to stdout. Ordering is preserved — stdout is always serial. Logs go to stderr so they can be separated (2>log.txt).

Add to the subscribers block in config.yaml:

subscribers:
stdout:
enabled: true
pretty: false # false = single-line JSON (machine-readable), true = indented
buffer_size: 1000

Available fields and defaults

FieldDefaultDescription
enabledfalseEnable the subscriber
prettyfalsefalse = single-line JSON; true = indented JSON
buffer_size1000In-memory channel capacity (events dropped when full)

See Common tuning for buffer_size semantics.