diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf
index 7d68f88..18e7736 100644
--- a/docker/fluentd/fluent.conf
+++ b/docker/fluentd/fluent.conf
@@ -9,19 +9,19 @@
key_name log
reserve_data true
- @type regexp
- expression /^(?.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b.*)$/i
+ @type json # Assuming logs are in JSON format
+
+ 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