log-forward: keep the warning in subject for higher severity

This commit is contained in:
Christian Hesse 2023-10-19 12:36:19 +02:00
parent b81f3850ae
commit 92b4af7b90

View file

@ -61,6 +61,7 @@ $ScriptLock $0;
:set Bullet "large-orange-circle";
}
:if ($MessageVal->"topics" ~ "(emergency|alert|critical|error)") do={
:set Warning true;
:set Bullet "large-red-circle";
}
:if ($DupCount < 3) do={