Skip to content
Snippets Groups Projects
Commit a9f7ab1f authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Collect rabbitmq logs by fluentd"

parents 466206c6 bf979282
No related branches found
No related tags found
No related merge requests found
<source>
@type tail
path /var/log/kolla/rabbitmq/rabbit.log
path /var/log/kolla/rabbitmq/rabbit@{{ ansible_hostname }}.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>.*)/
format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}/
format1 /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3}) \[(?<log_level>\w+)\] (?<Payload>.*)/
enable_watch_timer false
</source>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment