Skip to content

Commit 903601a

Browse files
JohnGarbuttyoctozepto
authored andcommitted
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 (cherry picked from commit 7f1248f)
1 parent 6870d56 commit 903601a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/common/templates/conf/input/02-mariadb.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@type tail
1515
path /var/log/kolla/mariadb/xinetd.log
1616
pos_file /var/run/{{ fluentd_binary }}/mariadb-xinetd.pos
17-
tag infra.mariadb.xinetd
17+
tag infra.mariadb-xinetd
1818
format multiline
1919
format_firstline /^\d{2}/\d{1,2}/\d{1,2}@\d{1,2}:\d{1,2}:\d{1,2}\: (START|EXIT)\: /
2020
format1 /^(?<Timestamp>\S+) (?<Payload>.*)?$/

0 commit comments

Comments
 (0)