Page 1 of 1

nxlog event exclude

Posted: Wed Jun 16, 2021 9:00 am
by mejokj
HI Team,

Please let us know how to exclude some type of event log in nxlog to send to the nagios log server. One event is sending too much and causes a lot of bandwidth usage. So kindly provide the steps to exclude the event in nxlog conf.

Re: nxlog event exclude

Posted: Wed Jun 16, 2021 6:24 pm
by ssax
Depending on how you have it setup you could do:

Code: Select all

Exec if $raw_event =~ 'Your String' drop();