Hello, I have a Graylog server running with a syslog input.
Messages we’re getting are way too big and contains too much field for us.
I tried to use pipeline to remove fields. In the simulator I have the result I want, but in my stream nothing changed.
Here is an extract of my rule (can’t put all) :
rule "remove fields"
when
has_field("message")
then
remove_field("logid");
remove_field("subtype");
remove_field("type");
remove_field("tz");
remove_field("vd");
end
And here a message :
<189>date=2023-06-27 time=08:43:51 eventtime=1687841031780732737 logid="0000000015" type="traffic" subtype="forward" level="notice" vd="Traffic" srcintfrole="undefined" proto=6 action="start" policyid=20 policytype="policy"
As I said, I tried in the simulator. Every field got removed, but not in my stream, I keep seeing them.