The roundrobin
Output plugin distributes events to multiple outputs using a weighted round-robin algorithm.
It is included in Fluentd's core.
<match pattern>
@type roundrobin
<store>
@type http
endpoint http://192.168.1.21
weight 3
# ...
</store>
<store>
@type http
endpoint http://192.168.1.22
weight 2
# ...
</store>
<store>
@type http
endpoint http://192.168.1.23
weight 1
# ...
</store>
</match>
Refer to Configuration File for the basic structure and syntax of the configuration file.
- Non-Buffered
The value must be roundrobin
.
Specifies the storage destinations. The format is the same as the <match>
directive.
type | default | version |
---|---|---|
integer | 1 | 0.14.1 |
Weight to distribute events to multiple outputs.
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.