50 lines
803 B
Plaintext
50 lines
803 B
Plaintext
<system>
|
|
log_level debug
|
|
</system>
|
|
|
|
<source>
|
|
@type forward
|
|
port 24224
|
|
bind 0.0.0.0
|
|
</source>
|
|
|
|
<source>
|
|
@type monitor_agent
|
|
bind 0.0.0.0
|
|
port 24220
|
|
tag fluentd.monitor.*
|
|
</source>
|
|
|
|
<filter docker.**>
|
|
@type parser
|
|
key_name log
|
|
reserve_data true
|
|
<parse>
|
|
@type regexp
|
|
expression /(?<message>.*Rocket has launched.*)/
|
|
</parse>
|
|
</filter>
|
|
|
|
<match docker.**>
|
|
@type copy
|
|
<store>
|
|
@type stdout
|
|
</store>
|
|
<store>
|
|
@type http
|
|
endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc"
|
|
http_method post
|
|
<buffer>
|
|
flush_interval 10s
|
|
</buffer>
|
|
<format>
|
|
@type json
|
|
</format>
|
|
headers {"Content-Type":"application/json"}
|
|
</store>
|
|
</match>
|
|
|
|
<match fluentd.monitor.**>
|
|
@type stdout
|
|
</match>
|