Fix parsing of infra.mariadb.xinetd logs

Currently the logs tagged with infra.mariadb.xinetd flow into
elasticsearch with no hostname or programname attach, thus making
navigating the logs very hard.

The quick fix is renaming the tag to infra.mariadb-xinetd, which is just
enought to ensure the logs are processed correctly with the existing
filters.

TrivialFix

Change-Id: Icd72206de7c1f701bdf35c8fb3b128ef2dbe29a8
This commit is contained in:
John Garbutt 2021-06-03 11:52:14 +01:00
parent 008ada9062
commit 7f1248fee5

View File

@ -14,7 +14,7 @@
@type tail
path /var/log/kolla/mariadb/xinetd.log
pos_file /var/run/{{ fluentd_binary }}/mariadb-xinetd.pos
tag infra.mariadb.xinetd
tag infra.mariadb-xinetd
format multiline
format_firstline /^\d{2}/\d{1,2}/\d{1,2}@\d{1,2}:\d{1,2}:\d{1,2}\: (START|EXIT)\: /
format1 /^(?<Timestamp>\S+) (?<Payload>.*)?$/