Browse Source

add fluentd

master
zeus 3 years ago
parent
commit
d699a7096b
  1. 4
      WriteToMongo/fluent/fluent.conf

4
WriteToMongo/fluent/fluent.conf

@ -51,7 +51,8 @@
#collection logs #collection logs
collection test collection test
#nodes swarmlabmongo1:27017,swarmlabmongo2:27017,swarmlabmongo1:27017 #nodes swarmlabmongo1:27017,swarmlabmongo2:27017,swarmlabmongo1:27017
nodes mongo.poc-datacollector_datacollector-net:27017 host mongo.poc-datacollector_datacollector-net
port 27017
#user app_swarmlab #user app_swarmlab
#password app_swarmlab #password app_swarmlab
@ -66,6 +67,7 @@
flush_interval 20s flush_interval 20s
</buffer> </buffer>
</store> </store>
<store> <store>
@type stdout @type stdout
</store> </store>

Loading…
Cancel
Save