31 lines
569 B
Plaintext
31 lines
569 B
Plaintext
<source>
|
|
@type forward
|
|
port 24224
|
|
bind 0.0.0.0
|
|
</source>
|
|
|
|
<filter **>
|
|
@type record_transformer
|
|
<record>
|
|
level error
|
|
message ${record['log']}
|
|
timestamp ${time}
|
|
service ${tag_parts[0]}
|
|
container_image ${tag_parts[1]}
|
|
</record>
|
|
remove_keys log
|
|
</filter>
|
|
|
|
<match **>
|
|
@type http
|
|
endpoint_url https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc
|
|
headers {"Content-Type":"application/json"}
|
|
http_method post
|
|
<buffer>
|
|
flush_interval 10s
|
|
</buffer>
|
|
<format>
|
|
@type json
|
|
</format>
|
|
</match>
|