d3d4a933be
* add fluentd role * remove heka configure Co-Authored-By: yangzb09 <yangzb09@qq.com> Partially-Implements: blueprint add-fluentd-role Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
11 lines
302 B
Django/Jinja
11 lines
302 B
Django/Jinja
<source>
|
|
@type tail
|
|
path /var/log/kolla/mariadb/mariadb.log
|
|
pos_file /var/run/td-agent/mariadb.pos
|
|
tag mariadb.*
|
|
format multiline
|
|
format_firstline /^\d{6}/
|
|
format1 /^(?<time>\d{6} \d{1,2}:\d{1,2}:\d{1,2}) \[(?<severity_label>\S+)\] (?<Payload>.*)/
|
|
time_format %y%m%d %k:%M:%S
|
|
</source>
|