I am try to filter a windows log using Winlogbeat using the following parameters.
I want events to be dropped in case:
EventID = 4668
SubjectUserSid = “S-1-5-18"
I have searched everything and I do not even whether this filtering is possible using winlogbeat.
I have followed the guide from elastic but it did not help:
rule "test drop"
when
to_string($message.winlog_event_id) == "4668" &&
to_string($message.winlog_event_data_SubjectUserSid) == "S-1-5-18"
then
//Drop the message out of processing
drop_message();
end