stdout
The filter_stdout
filter plugin prints events to the standard output (or logs if launched as a daemon). This filter plugin is useful for debugging purposes.
It is included in the Fluentd's core.
Example Configurations
A sample output is as follows:
where the first part shows the output time, the second part shows the tag, and the third part shows the record.
Plugin Helpers
Parameters
See Common Parameters.
@type
(required)
@type
(required)The value must be stdout
.
<format>
Section
<format>
SectionSee Format section configurations for more details.
@type
@type
type | default | version |
string | stdout | 0.14.5 |
The format of the output.
output_type
output_type
type | default | version |
string | json | 0.14.5 |
This is the option of stdout
format. Configures the format of the record (third part). Any formatter plugins can be specified.
<inject>
Section
<inject>
SectionSee Inject Section Configurations for more details.
Learn More
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