@type forward
port 24224
bind 0.0.0.0
@type parser
key_name log
reserve_data true
@type regexp
expression /^(?.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i
@type copy # Introduce a 'copy' stage
# Original output
@type exec
command "/go-glitch"
flush_interval 10s
@type json
run_interval 10s
# Graylog output
@type gelf
host graylog_server_hostname # Replace with your Graylog server's hostname
port 12201 # Standard GELF port