stdout

The stdout output plugin prints events to the standard output (or logs if launched as a daemon). This output plugin is useful for debugging purposes.
It is included in Fluentd's core.
Example Configuration
Please see the Config File article for the basic structure and syntax of the configuration file.
Sample output:
where the first part shows the output time, the second part shows the tag, and the third part shows the record.
Supported Modes
Non-Buffered
Synchronous
Plugin Helpers
Parameters
@type
@typeThe value must be stdout.
use_logger
use_loggerbool
true
1.19.0
If Fluentd logger outputs logs to a file, this plugin outputs events to the file as well.
If setting false, this plugin outputs events to STDOUT independently of Fluentd logger.
<buffer> Section
<buffer> SectionSee Buffer Section Configurations for more details.
chunk_keys
chunk_keysarray
tag
0.14.5
Overwrites the default value in this plugin.
flush_at_shutdown
flush_at_shutdownbool
true
0.14.5
Overwrites the default value in this plugin.
chunk_limit_size
chunk_limit_sizesize
10240
0.14.5
Overwrites the default value in this plugin.
<format> Section
<format> SectionSee Format Section Configurations for more details.
@type
@typestring
stdout
0.14.5
The format of the output.
output_type
output_typestring
json
0.14.5
This is the option for the stdout format. Configure the format of the record (third part). Any formatter plugins can be specified.
<inject> Section
<inject> SectionSee Inject Section Configurations for more details.
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is an open-source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated
Was this helpful?