@type forward
port 24224
bind 0.0.0.0
@type parser
key_name log
reserve_data true
@type regexp
expression /^(?
@type grep
key level
pattern /ERROR|WARN|FATAL/
@type copy
@type stdout
@type http
endpoint_url "https://glitch.nixc.us/api/5/security/?glitchtip_key=b4a0501ad2264d5b84054f8222628adc"
http_method post
flush_interval 10s
@type json
headers {"Content-Type":"application/json"}