Merge "Fluentd "progname" field not always generated"
This commit is contained in:
commit
0e50f147e0
@ -6,3 +6,10 @@
|
|||||||
programname ${tag_parts[5]}
|
programname ${tag_parts[5]}
|
||||||
</record>
|
</record>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
|
<filter infra.*>
|
||||||
|
@type record_transformer
|
||||||
|
<record>
|
||||||
|
programname ${tag_parts[1]}
|
||||||
|
</record>
|
||||||
|
</filter>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@type tail
|
@type tail
|
||||||
path /var/log/kolla/mariadb/mariadb.log
|
path /var/log/kolla/mariadb/mariadb.log
|
||||||
pos_file /var/run/{{ fluentd_dir }}/mariadb.pos
|
pos_file /var/run/{{ fluentd_dir }}/mariadb.pos
|
||||||
tag mariadb.*
|
tag infra.mariadb
|
||||||
format multiline
|
format multiline
|
||||||
format_firstline /^\d{6}/
|
format_firstline /^\d{6}/
|
||||||
format1 /^(?<time>\d{6} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<severity_label>\S+)\] (?<Payload>.*)/
|
format1 /^(?<time>\d{6} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<severity_label>\S+)\] (?<Payload>.*)/
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@type tail
|
@type tail
|
||||||
path /var/log/kolla/rabbitmq/rabbit.log
|
path /var/log/kolla/rabbitmq/rabbit.log
|
||||||
pos_file /var/run/{{ fluentd_dir }}/rabbit.pos
|
pos_file /var/run/{{ fluentd_dir }}/rabbit.pos
|
||||||
tag rabbit.*
|
tag infra.rabbitmq
|
||||||
format multiline
|
format multiline
|
||||||
format_firstline /^\s*$/
|
format_firstline /^\s*$/
|
||||||
format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/
|
format1 /^=(?<log_level>\w+) REPORT==== (?<Times>[^ ]+) ===\n/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user