debugging
This commit is contained in:
parent
972eda3730
commit
94600f55a5
|
@ -11,8 +11,8 @@
|
|||
expression /^(?<message>.*)\b(SIGTERM|SEVERE ERROR|FATAL|CRITICAL)\b/i
|
||||
</filter>
|
||||
|
||||
# Route 1: Errors to Glitchtip
|
||||
<match docker.**> # Matches docker logs containing the severity terms
|
||||
|
||||
<match docker.**>
|
||||
@type exec
|
||||
command "/go-glitch"
|
||||
<buffer>
|
||||
|
@ -24,9 +24,8 @@
|
|||
run_interval 10s
|
||||
</match>
|
||||
|
||||
# Route 2: Unfiltered to stdout
|
||||
<match **> # Catch-all match for logs not matched by the error filter
|
||||
@type copy # Duplicate to prevent original event modification
|
||||
<match **>
|
||||
@type copy
|
||||
<store>
|
||||
@type stdout
|
||||
</store>
|
||||
|
|
Loading…
Reference in New Issue