mongo_replset
最后更新于:2022-04-02 03:02:09
[TOC]
## 安装插件
```
/opt/td-agent/bin/fluent-gem install fluent-plugin-mongo
```
## 实例
```
@type mongo_replset
database fluentd
collection test
nodes localhost:27017,localhost:27018,localhost:27019
# The name of the replica set
replica_set myapp
# flush
flush_interval 10s
```
';