diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf
index 18e7736..7d68f88 100644
--- a/docker/fluentd/fluent.conf
+++ b/docker/fluentd/fluent.conf
@@ -9,19 +9,19 @@
key_name log
reserve_data true
- @type json # Assuming logs are in JSON format
+ @type regexp
+ expression /^(?.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b.*)$/i
-
- key message
- pattern /ERROR|FATAL|CRITICAL|exception|failed|failure/i
- tag docker.errors
-
-
+
@type exec
command "/go-glitch"
flush_interval 10s
+
+ @type json
+
+ run_interval 10s