can someone tell me how to config nxlog.conf to forward only selected Security eventID log entries?
my conf currently is
<Input eventlog>
Module im_msvistalog
SavePos TRUE
Query <QueryList>\
<Query Id="0">\
<Select Path="Application">*</Select>\
<Select Path="System">*</Select>\
<Select Path="Security">*</Select>\
</Query>\
</QueryList>
Exec to_json();
</Input>
I have come across https://nxlog.co/question/2401/filterin ... -nxlogconf and this https://www.reddit.com/r/sysadmin/comme ... ff_events/ but am having problems in getting either syntax right.
thanks
nxlog.conf filter by eventID
Re: nxlog.conf filter by eventID
Old thread with an implementation:
https://support.nagios.com/forum/viewto ... 0&p=206924
This drops all but the matching event IDs. If you want to include/exclude specific ones, you'd just alter the regex match.
The drop() should occur before your to_json().
https://support.nagios.com/forum/viewto ... 0&p=206924
This drops all but the matching event IDs. If you want to include/exclude specific ones, you'd just alter the regex match.
The drop() should occur before your to_json().
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: nxlog.conf filter by eventID
@billy_strath let us know if you have any problems implement what @mcapra linked to.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.