################################################################################
#### Date : 30/12/2016 #####
#
#
#
# Receive events from 24224/tcp
# This is used by log forwarding and the fluent-cat command
# http://this.host:9880/myapp.access?json={"event":"data"}
# 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
##############################################################################