= dummy_service
== WriteToMongo/fluent/fluent.conf
[source,javascript]
----
@type stdout
// <9>
@type copy
copy_mode deep // <10>
// <11>
@type mongo
connection_string mongodb://mongo.poc-datacollector_datacollector-net:27017/fluentdb // <12>
#database fluentdb
collection test
#host mongo.poc-datacollector_datacollector-net
#port 27017
num_retries 60
capped // <13>
capped_size 100m // <14>
# key name of timestamp
time_key time
retry_wait 50s
flush_mode immediate // <15>
#flush_interval 10s
@type stdout
@type file
path /tmp/mylog
timekey 1d
timekey_use_utc true
timekey_wait 10s
----
<1> *