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 ac631877d4..e97c1a009c 100644 --- a/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 +++ b/ansible/roles/common/templates/conf/input/03-rabbitmq.conf.j2 @@ -4,7 +4,7 @@ pos_file /var/run/td-agent/rabbit.pos tag rabbit.* format multiline - format_firstline /^=/ - format1 /^.*\n/ - format2 /^(?.*)\n/ + format_firstline /^\s*$/ + format1 /^=(?\w+) REPORT==== (?[^ ]+) ===\n/ + format2 /^(?.*)/