diff --git a/docker/fluentd/fluent.conf.greylog b/docker/fluentd/fluent.conf.greylog new file mode 100644 index 0000000..f99ee54 --- /dev/null +++ b/docker/fluentd/fluent.conf.greylog @@ -0,0 +1,39 @@ + + @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 + + \ No newline at end of file