Standard output (stdout) is a process output stream commonly used for log events. A process writes a continuous, usually text-based event stream; local developers can view it in a terminal, while an execution environment can capture, combine, route, and archive it elsewhere. The application does not need to manage log files or know the final destination. section 3.3
Using stdout separates application behavior from log delivery, but raw print-style output has operational limits. Without a logging framework, changing detail levels, suppressing sensitive events, and maintaining consistent structure become harder. Configuration-driven logging frameworks can set thresholds and use appenders while leaving routing outside application logic. section 3.3.1
Common deployment patterns include:
- Capture an application’s stdout through Fluent Bit’s stdin input and send the resulting events to an output destination. section 3.3.1
- For short-lived Function-as-a-Service workloads, connect application stdout to Fluent Bit stdin, or use a logging-framework appender that communicates directly with Fluent Bit or Fluentd. section 3.5.3
- In containers, let the runtime handle stdout and stderr, then use logging agents such as sidecars or node-level DaemonSets for cluster-level collection. section 4.7.1
Capture a redirected stdout stream
Configure Fluent Bit with the stdin input, assign a tag, and write matching events to captured.txt. Redirecting an application’s stdout into this process turns emitted log lines into Fluent Bit input for later routing or processing. section 3.3.1
Listing 3.2 Capturing stdout
[SERVICE] flush 1 [INPUT] name stdin #1 tag book_stdout #2 [OUTPUT] match * name file path . file captured.txt
This configuration shows the stdin input tagged as book_stdout and a file output that writes captured events to captured.txt. section 3.3.1
Stdout is one input and output path within a wider observability flow. Fluent Bit can receive logs from files, HTTP, and forwarding as well as stdin, and can send events onward; metrics and traces are also supported. For networked forwarding, SSL/TLS can secure traffic and control certificate validation. section 3.9





