= dummy_service
== fluent.conf
config file: WriteToMongo/fluent/fluent.conf
=== edit
[source,c]
----
@type stdout
# define the source which will provide log events
## match tag=log.* and write to mongo
// <9>
@type copy
copy_mode deep // <10>
// <11>
@type mongo // <12>
connection_string mongodb://mongo.poc-datacollector_datacollector-net:27017/fluentdb // <13>
#database fluentdb
collection test
#host mongo.poc-datacollector_datacollector-net
#port 27017
num_retries 60
capped // <14>
capped_size 100m
# 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> *