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.
50 lines
591 B
50 lines
591 B
<source>
|
|
@type forward
|
|
port 24224
|
|
bind 0.0.0.0
|
|
</source>
|
|
|
|
<filter mongo.redis>
|
|
@type record_transformer
|
|
<record>
|
|
gen_host "#{Socket.gethostname}"
|
|
</record>
|
|
|
|
</filter>
|
|
|
|
<filter mongo.*>
|
|
@type record_transformer
|
|
<record>
|
|
tag ${tag}
|
|
</record>
|
|
</filter>
|
|
|
|
|
|
<match mongo.*>
|
|
@type copy
|
|
<store>
|
|
@type stdout
|
|
</store>
|
|
<store>
|
|
@type mongo
|
|
|
|
host mongo
|
|
port 27017
|
|
|
|
database fluentdb
|
|
collection test
|
|
|
|
capped
|
|
capped_size 1024m
|
|
|
|
<buffer>
|
|
flush_interval 10s
|
|
</buffer>
|
|
|
|
<format>
|
|
@type json
|
|
</format>
|
|
</store>
|
|
# interval
|
|
|
|
</match>
|
|
|