fluentd-ingest/docker/fluentd/fluent.conf

32 lines
503 B
Plaintext

<source>
@type forward
port 24224
bind 0.0.0.0
</source>
<filter docker.**>
@type grep
<regexp>
key log
pattern /SIGTERM|SEVERE ERROR|FATAL|CRITICAL/i
</regexp>
</filter>
<match docker.**>
@type exec
command "/go-glitch"
<buffer>
flush_interval 10s
</buffer>
<format>
@type json
</format>
run_interval 10s
</match>
<match **>
@type copy
<store>
@type stdout
</store>
</match>