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.
<match pattern>
@type stdout
</match>
Sample output:
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
.- Non-Buffered
- Synchronous
The value must be
stdout
.type | default | version |
array | tag | 0.14.5 |
Overwrites the default value in this plugin.
type | default | version |
bool | true | 0.14.5 |
Overwrites the default value in this plugin.
type | default | version |
size | 10240 | 0.14.5 |
Overwrites the default value in this plugin.
type | default | version |
string | stdout | 0.14.5 |
The format of the output.
type | default | version |
string | 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.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 modified 2yr ago