zhubingbing f2cc931fa6 Fix rabbitmq log ulti-line cutting problem
Change-Id: Id7be86955b357199fde2ab57a9b24e1f49ecebcd
Closes-Bug: #1667671
2017-02-24 12:27:47 +00:00

11 lines
268 B
Django/Jinja

<source>
@type tail
path /var/log/kolla/rabbitmq/rabbit.log
pos_file /var/run/td-agent/rabbit.pos
tag rabbit.*
format multiline
format_firstline /^\s*$/
format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/
format2 /^(?<Payload>.*)/
</source>