From b9f2ad94a7bbd2d02d8ba69106e4d7a64d04f82a Mon Sep 17 00:00:00 2001 From: joek-office Date: Tue, 4 Apr 2023 09:44:40 +0200 Subject: [PATCH] Change regex for the multiline parser at the fluentd rabbitmq input Related-Bug: #2015184 Closes-Bug: #2015184 Change-Id: I6ea0949d58e38e2cda41c9702001e7bd500f23f1 --- ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 b/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 index e0e74b1fea..9fb1b3dc3e 100644 --- a/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 +++ b/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 @@ -6,7 +6,7 @@ enable_watch_timer false @type multiline - format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}/ - format1 /^(?\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}) \[(?\w+)\] (?.*)/ + format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}(\d+\+\d{2}:\d{2})?/ + format1 /^(?\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})(\d+\+\d{2}:\d{2})? \[(?\w+)\] (?.*)/