We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cc242f commit e59640dCopy full SHA for e59640d
internal/collector/otel_collector_plugin.go
@@ -563,6 +563,15 @@ func (oc *Collector) updateTcplogReceivers(nginxConfigContext *model.NginxConfig
563
"protocol": "rfc3164",
564
},
565
566
+ // filter drops all logs that have a severity above 4
567
+ // https://docs.secureauth.com/0902/en/how-to-read-a-syslog-message.html#severity-code-table
568
+ {
569
+ Type: "filter",
570
+ Fields: map[string]string{
571
+ "expr": "'attributes.priority % 8 > 4'",
572
+ "drop_ratio": "1.0",
573
+ },
574
575
{
576
Type: "remove",
577
Fields: map[string]string{
0 commit comments