Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# define ROOT dir
define ROOT C:\Program Files (x86)\nxlog
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
#<Extension _syslog>
# Module xm_syslog
<Extension _json>
Module xm_json
<Input ForwardedEvents>
Module im_msvistalog
<Query Id="0">
<Select Path="ForwardedEvents">*</Select>
<Output ForwardedEventsOut>
Module om_tcp
Port 3515
Exec to_json();
<Route 1>
Path ForwardedEvents => ForwardedEventsOut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment