多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 安装插件 ``` /opt/td-agent/bin/fluent-gem install fluent-plugin-mongo ``` ## 实例 ``` <match mongo.**> @type mongo_replset database fluentd collection test nodes localhost:27017,localhost:27018,localhost:27019 # The name of the replica set replica_set myapp <buffer> # flush flush_interval 10s </buffer> </match> ```