################################################################################ #### Date : 30/12/2016 ##### # # # # Receive events from 24224/tcp # This is used by log forwarding and the fluent-cat command @type forward port 24224 # http://this.host:9880/myapp.access?json={"event":"data"} @type http port 9880 @type tail path /tmp/published_statistics.log # pos_file /var/log/td-agent/tmp/access.log.pos format json tag mongo.snap.statistics # plugin type @type mongo # mongodb db + collection database snap collection statistics # mongodb host + port host localhost port 27017 # Set 'capped' if you want to use capped collection capped capped_size 100m # interval flush_interval 1s # make sure to include the time key include_time_key true ##############################################################################