lasthourcloud/others/fluentd/fluentd-dev.conf

28 lines
487 B
Plaintext
Raw Normal View History

2022-04-19 22:20:37 +00:00
<source>
@type forward
port 24224
bind 0.0.0.0
</source>
<match **>
@type http
2022-04-20 11:33:04 +00:00
endpoint http://host.docker.internal:3000/logs.json
2022-04-19 22:20:37 +00:00
<buffer>
flush_at_shutdown true
flush_mode immediate
flush_thread_count 8
flush_thread_interval 1
flush_thread_burst_interval 1
retry_forever true
retry_type exponential_backoff
</buffer>
</match>
<filter docker.**>
@type parser
key_name log
reserve_data true
<parse>
@type json
</parse>
</filter>