Update docker/fluentd/fluent.conf

This commit is contained in:
colin 2024-04-16 19:57:37 +00:00
parent bca47bff13
commit c6d32e21ea
1 changed files with 2 additions and 7 deletions

View File

@ -8,13 +8,8 @@
@type parser
key_name log
reserve_data true
<parse>
@type regexp
expression /^(?<message>.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i
</parse>
<parse>
@type json
</parse>
format /^(?<message>.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i json
# Additional JSON parsing configuration (if necessary)
</filter>
<match docker.**>