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
</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>