From c6d32e21eacba6f805c2ededaf85b83bc71a378e Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 16 Apr 2024 19:57:37 +0000 Subject: [PATCH] Update docker/fluentd/fluent.conf --- docker/fluentd/fluent.conf | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf index 3790a6c..296b169 100644 --- a/docker/fluentd/fluent.conf +++ b/docker/fluentd/fluent.conf @@ -8,13 +8,8 @@ @type parser key_name log reserve_data true - - @type regexp - expression /^(?.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i - - - @type json - + format /^(?.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i json + # Additional JSON parsing configuration (if necessary)