Eventum Logo

Eventum

Output

stdout

Output plugin that writes events to the console or stderr.

Writes events to the standard output or error stream. The simplest output plugin — useful for debugging, piping to another tool, or quick inspection.

Parameters

ParameterTypeDefaultConstraintsDescription
streamstring"stdout""stdout" or "stderr"Target stream.
flush_intervalfloat1>= 0Seconds between buffer flushes.
encodingstring"utf_8"Valid Python codec name.Stream encoding.
separatorstring"\n" (OS line separator)String inserted between events.
formatterformatterplainHow events are serialized before writing.

Behavior

  • Buffered output is flushed every flush_interval seconds. Set to 0 for immediate output — useful during debugging, but reduces throughput.
  • Writing to stderr is useful when stdout is piped to another tool.

Examples

Minimal — write events to stdout with defaults:

output:
  - stdout: {}

Immediate flush to stderr:

output:
  - stdout:
      stream: stderr
      flush_interval: 0

JSON output to console:

output:
  - stdout:
      formatter:
        format: json
        indent: 2

On this page