Created
September 20, 2017 12:36
-
-
Save deruke/f791f2ecfedde51caa9dc9bf4ad1e3f0 to your computer and use it in GitHub Desktop.
WEF-nxlog.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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