Update docker/fluentd/fluent.conf

This commit is contained in:
colin 2024-04-16 13:34:22 +00:00
parent 6e06df2aa6
commit 3ba69c0d1f
1 changed files with 7 additions and 5 deletions

View File

@ -9,11 +9,13 @@
</source>
<filter docker.**>
@type grep
<regexp>
key log
pattern /Rocket has launched/
</regexp>
@type parser
key_name log
reserve_data true
<parse>
@type regexp
expression /(?<message>.*(ERROR|FATAL|CRITICAL|exception|failed|failure).*)/i
</parse>
</filter>
<match docker.**>