diff --git a/WriteToMongo/fluent/fluent.conf b/WriteToMongo/fluent/fluent.conf index 4a06fe1..a69235c 100644 --- a/WriteToMongo/fluent/fluent.conf +++ b/WriteToMongo/fluent/fluent.conf @@ -42,30 +42,32 @@ # output mongo log* @type copy - - #@type mongo_replset - @type mongo - - #database app_swarmlab - database fluentdb - #collection logs - collection test + + #@type mongo_replset + @type mongo + + #database app_swarmlab + database fluentdb + #collection logs + collection test #nodes swarmlabmongo1:27017,swarmlabmongo2:27017,swarmlabmongo1:27017 - nodes mongo.poc-datacollector_datacollector-net:27017 - - #user app_swarmlab - #password app_swarmlab + host mongo.poc-datacollector_datacollector-net + port 27017 + + #user app_swarmlab + #password app_swarmlab + + #replica_set rs0 + num_retries 60 + capped + capped_size 100m + + + + flush_interval 20s + + - #replica_set rs0 - num_retries 60 - capped - capped_size 100m - - - - flush_interval 20s - - @type stdout