buffer
The buffer
output plugin buffers and re-labels events. This plugin is similar to out_relabel, but uses buffer.
It is included in Fluentd's core (since v1.18.0).
Example Configuration
In the above example, events ingested by in_udp
are once stored in the buffer of this plugin, then re-routed and output by out_stdout
.
Supported Modes
Synchronous Buffered
See also: Output Plugin Overview
Plugin Helpers
Parameters
@type
(required)
@type
(required)The value must be buffer
.
@label
(required)
@label
(required)string
nil
1.18.0
Specifies the label to re-route.
Note: You can specify @ROOT
to re-route to the root.
<buffer>
Section
<buffer>
Sectionpath
(required)
path
(required)string
required parameter
1.18.0
@type
@type
string
file
1.18.0
Overwrites the default value in this plugin.
chunk_keys
chunk_keys
array
tag
1.18.0
Overwrites the default value in this plugin.
flush_mode
flush_mode
enum
interval
1.18.0
Overwrites the default value in this plugin.
flush_interval
flush_interval
integer
10
1.18.0
Overwrites the default value in this plugin.
Common Buffer / Output parameters
In addition, you can configure other common settings. Please see the followings for 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