Fix Fluentd date format for MariaDB xinetd

Time format in Ruby Time.strptime is not accepting padding flags,
therefore we need to remove them for the Fluentd to be able
to parse MariaDB xinetd logs properly.

Change-Id: Iabfa9afdcad505106a5580eb2d058273ee5f7c1f
Closes-Bug: #1886002
This commit is contained in:
Justinas Balciunas 2020-07-02 08:22:01 +00:00
parent 788191c8f2
commit dda5269ce7

View File

@ -20,7 +20,7 @@
format1 /^(?<Timestamp>\S+) (?<Payload>.*)?$/
time_key Timestamp
keep_time_key true
time_format %y/%-m/%-d@%T
time_format %y/%m/%d@%T
ignore_repeated_permission_error true
enable_watch_timer false
</source>