Hi,
we have graylog 2.2.3 and we have configured graylog sidecar with nxlog on clients.
We have a log of events with severitz INFO. We would like to filter input for windows eventslog in nxlog config.
I need to configure nxlog in sidecar collector on Graylog.
so, i think, i need to change configuration for module im_msvistalog.
How and where to configure this "Exec if ($Severity == ‘INFO’) drop(); " in graylog for input nxlog.
… but a more efficient way is to use the Query directive in the input module. See nxlog manual. You can check that the query is what you want by making first a custom view in the event viewer, and once you get it working, use that definition with the nxlog msvistalog query directive.
Hi,
thanks for your reply,
could you help me with this "Exec if ($Severity == ‘INFO’) drop(); "
How to specify in nxlog input module config, that we want to see all logs, but not severity INFO.
OR in query, how to specify, that we want to see all logs, but not severity INFO.
# Use 'im_mseventlog' for Windows XP, 2000 and 2003
Module im_msvistalog
# Uncomment the following to collect specific event logs only
# Query \
# \
# *\
# *\
# *\
# \
#
Hi all,
do you have query in collector sidecar for filtering input logs through nxlog?
I would like to filter severity INFO.
Could you help me?
thanks very much