forward 转发到其他fluent
最后更新于:2022-04-02 03:01:51
[TOC]
## 概述
- 输出转发缓冲输出插件将事件转发到其他节点
- 该插件支持负载平衡和自动故障转移(即主动-主动备份)
## 实例
```
@type forward
send_timeout 60s
recover_wait 10s
hard_timeout 60s
name myserver1
host 192.168.1.3
port 24224
weight 60
name myserver2
host 192.168.1.4
port 24224
weight 60
...
@type file
path /var/log/fluent/forward-failed
```
';