debugging
This commit is contained in:
parent
972eda3730
commit
94600f55a5
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue