Hello - can you spot any problem with this processor. when i .\winlogbeat.exe test config
i get a good Config OK
as expected, however when events that i feel should match the processor occur, the field is not being added.
Please note NONE of these 4 add fields seem to work. I have other processors above and beneath this code that works fine..
- add_fields:
when.equals.winlog.event_id: "6005"
fields:
winlog.event_data.Info: "Machine starting"
target: ""
- add_fields:
when.equals.winlog.event_id: "6006"
fields:
winlog.event_data.Info: "Machine stopping"
target: ""
- add_fields:
when:
and:
- equals.winlog.event_id: "1074"
- equals.winlog.event_data.param5: "restart"
fields:
winlog.event_data.Info: "Machine will restart"
target: ""
- add_fields:
when:
and:
- equals.winlog.event_id: "1074"
- equals.winlog.event_data.param5: "power off"
fields:
winlog.event_data.Info: "Machine will shutdown"
target: ""