Skip to content

Instantly share code, notes, and snippets.

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