Update docker/fluentd/fluent.conf
This commit is contained in:
parent
bca47bff13
commit
c6d32e21ea
|
@ -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.**>
|
||||
|
|
Loading…
Reference in New Issue