
In order to orchestrate smooth transition to fluentd 0.14.x aka 1.0 stable branch aka td-agent 3 from td-agent repository - use image labels (fluentd_version and fluentd_binary). Depends-On: https://review.opendev.org/676411 Change-Id: Iab8518c34ef876056c6abcdb5f2e9fc9f1f7dbdd
12 lines
311 B
Django/Jinja
12 lines
311 B
Django/Jinja
<source>
|
|
@type tail
|
|
path /var/log/kolla/rabbitmq/rabbit.log
|
|
pos_file /var/run/{{ fluentd_binary }}/rabbit.pos
|
|
tag infra.rabbit
|
|
format multiline
|
|
format_firstline /^\s*$/
|
|
format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/
|
|
format2 /^(?<Payload>.*)/
|
|
enable_watch_timer false
|
|
</source>
|