debugging

This commit is contained in:
Colin 2024-04-16 21:27:38 -04:00
parent 972eda3730
commit 94600f55a5
1 changed files with 4 additions and 5 deletions

View File

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