Hi, i want to filter the events collected by the winlogbeat. Because it is a lot of unwanted noise, i want to drop all events that come from the System32 processes like svchost, backGroundTaskhost etc.
I've tried using drop_event in different ways but it does not seem to work since it is still included in the output.
I tried several ways based on examples i found but none of them seem to do anything:
- drop_event:
when.or:
- regexp.event_data.NewProcessName: 'C:\\Windows\\System32\\*'
- drop_event:
when:
equals.event_data.ParentProcessName: ['C:\\Windows\\System32\\svchost.exe']
- drop_event:
when:
contains:
event_data.NewProcessName: ["C:\\Windows\\System32*"]
Any help for this is very much appreciated and i hope the formatting was ok.
Thanks