You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
665 B

4 years ago
<source>
@type forward
port 24224
bind 0.0.0.0
</source>
# <filter mongo.*>
# @type parser
# key_name log
# reserve_data true
# <parse>
# @type json # apache2, nginx, etc.
# </parse>
# </filter>
# <filter mongo.mongo>
# @type record_transformer
# # remove key1 and key2 keys from record
# remove_keys $.log.t
# </filter>
4 years ago
<match mongo.*>
@type copy
4 years ago
<store>
@type stdout
</store>
<store>
4 years ago
@type mongo
host mongo
port 27017
database fluentdb
collection test
capped
capped_size 1024m
4 years ago
<buffer>
flush_interval 10s
</buffer>
4 years ago
<format>
@type json
</format>
</store>
# interval
4 years ago
</match>