rule "function remove Fortigate Fields"
when
has_field("devname") &&
has_field("vd")
then
remove_field("vd");
debug("**** Found both fields - DEVNAME and VD --- attempted removal of VD");
end
You can then tail your Graylog server logs to see if the words from the debug function show up.