diff --git a/docker/fluentd/fluent.conf b/docker/fluentd/fluent.conf index 29bee44..1b637d3 100644 --- a/docker/fluentd/fluent.conf +++ b/docker/fluentd/fluent.conf @@ -14,14 +14,13 @@ reserve_data true @type regexp - expression /^(?=.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b).+$/i + expression /^(?.*\b(SIGTERM|ERROR|FATAL|CRITICAL|exception|failed|failure)\b.*)$/i - @type exec - command "/go-glitch" + command "/go-glitch '${record['message']}'" flush_interval 10s @@ -29,4 +28,4 @@ @type json run_interval 10s - \ No newline at end of file +