diff --git a/ansible/roles/common/templates/conf/input/00-global.conf.j2 b/ansible/roles/common/templates/conf/input/00-global.conf.j2 index fbd84b7f0b..a949d418c4 100644 --- a/ansible/roles/common/templates/conf/input/00-global.conf.j2 +++ b/ansible/roles/common/templates/conf/input/00-global.conf.j2 @@ -16,7 +16,7 @@ @type multiline format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} \d+ \S+ \S+ \[.*\]/ - format1 /^(?\S+ \S+) (?\d+) (?\S+) (?\S+) \[(\S+ req-)?((?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+)|-)\] (?.*)?$/ + format1 /^(?\S+ \S+) (?\d+) (?\S+) (?\S+) ((?:\[)(?:None|req-)(?\S+)? (?:None|req-)(?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+) (?\S+)(?:\]))?(?.*)?$/ time_key Timestamp keep_time_key true time_format %F %T.%L diff --git a/releasenotes/notes/bug-2044370-2285fc3952981cae.yaml b/releasenotes/notes/bug-2044370-2285fc3952981cae.yaml new file mode 100644 index 0000000000..c2ab823fec --- /dev/null +++ b/releasenotes/notes/bug-2044370-2285fc3952981cae.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes cases when fluentd parser fails on Python traceback. + OpenStack services regex has been reworked to include both + global_request_id and handling cases with Python traceback. + `LP#2044370 `_