Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

stdout Output Plugin

The stdout output plugin prints events to stdout (or logs if launched with daemon mode). This output plugin is useful for debugging purposes.

Table of Contents

Example Configuration

out_stdout is included in Fluentd’s core. No additional installation process is required.

<match pattern>
  @type stdout
Please see the Config File article for the basic structure and syntax of the configuration file.

A sample output is as follows:

2017-11-28 11:43:13.814351757 +0900 tag: {"field1":"value1","field2":"value2"}

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


Common Parameters


The value must be stdout.

<buffer> section

See Buffer section configurations for more details.


type default version
array tag 0.14.5

Overwrite default value in this plugin.


type default version
bool true 0.14.5

Overwrite default value in this plugin.


type default version
size 10240 0.14.5

Overwrite default value in this plugin.

<format> section

See Format section configurations for more details.


type default version
string stdout 0.14.5

The format of output.


type default version
string json 0.14.5

This is the option of stdout format. Configure the format of record (third part). Any formatter plugins can be specified.

Last updated: 2018-12-14 03:54:22 +0000

Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.