The stdout exporter outputs flow records directly to the console (standard output), providing immediate, human-readable visibility into the data Mermin is processing. While OTLP export is the standard for production observability, the stdout exporter is ideal for development, debugging, and verifying flow capture without requiring an external backend.
Output format for stdout exporter. In HCL you can use the shorthand stdout = "text_indent" or the object form stdout = { format = "text_indent" }. In YAML use the object form with a format key.
Type: String (enum), object with format key, or null
Default:null (disabled)
Valid Values:
"text_indent": Human-readable, indented text format (recommended)
null: Disable stdout export
Syntax Variations: The exporter supports both a shorthand string and a structured object format to maintain compatibility across HCL and YAML.
HCL Shorthand (Recommended)
export"traces"{stdout ="text_indent"}
Object Form (Required for YAML)
export"traces"{stdout ={format="text_indent"}}
Output Format
Text Indent Format
The text_indent format provides structured, readable output:
Troubleshooting
No Output Visible
Symptoms: Stdout exporter enabled but no flow records in logs
Solutions:
Verify stdout is set (e.g. stdout = "text_indent" or stdout = { format = "text_indent" })