# config
@type stdout
# input log
# input stats
# output mongo log*
@type copy
copy_mode deep
@type mongo
connection_string mongodb://mongo.poc-datacollector_datacollector-net:27017/fluentdb
#database fluentdb
collection test
#host mongo.poc-datacollector_datacollector-net
#port 27017
num_retries 60
capped
capped_size 100m
# key name of timestamp
time_key time
retry_wait 50s
flush_mode immediate
#flush_interval 10s
@type stdout
@type file
path /tmp/mylog
timekey 1d
timekey_use_utc true
timekey_wait 10s
# output mongo log*
#
# @type copy
#
# @type mongo
# #copy_mode shallow
#
# database fluentdb
# collection stats
# host mongo.poc-datacollector_datacollector-net
# port 27017
#
# num_retries 60
# capped
# capped_size 100m
#
#
#
# flush_interval 30s
#
#
#
#
# @type stdout
#
#
#
# @type file
# path /tmp/mylog1
#
# timekey 1d
# timekey_use_utc true
# timekey_wait 10s
#
#
#
#