b9f2ad94a7
Related-Bug: #2015184 Closes-Bug: #2015184 Change-Id: I6ea0949d58e38e2cda41c9702001e7bd500f23f1
13 lines
444 B
Django/Jinja
13 lines
444 B
Django/Jinja
<source>
|
|
@type tail
|
|
path /var/log/kolla/rabbitmq/rabbit@{{ ansible_facts.hostname }}.log
|
|
pos_file /var/run/td-agent/rabbit.pos
|
|
tag infra.rabbit
|
|
enable_watch_timer false
|
|
<parse>
|
|
@type multiline
|
|
format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}(\d+\+\d{2}:\d{2})?/
|
|
format1 /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})(\d+\+\d{2}:\d{2})? \[(?<log_level>\w+)\] (?<Payload>.*)/
|
|
</parse>
|
|
</source>
|