Update docker/fluentd/fluent.conf

This commit is contained in:
colin 2024-04-16 01:37:18 +00:00
parent f760874e20
commit 369db12c64
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@
key_name log
reserve_data true
<parse>
@type json
@type regexp
expression /^(?<timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})\[(?<module>[^\]]+)\]\[(?<level>[^\]]+)\] (?<message>.*)$/
time_format %Y-%m-%d %H:%M:%S
</parse>
</filter>