Last active
July 21, 2020 16:12
-
-
Save jfrantz1-r7/feb9fb49603690fb391ea4cc8ff5cb20 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
## This is a sample configuration file. See the nxlog reference manual about the | |
## configuration options. It should be installed locally and is also available | |
## online at http://nxlog.org/docs/ | |
## Please set the ROOT to the folder your nxlog was installed into, | |
## otherwise it will not start. | |
#define ROOT C:\Program Files\nxlog | |
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 in> | |
Module im_msvistalog | |
ReadFromLast True | |
Query <QueryList>\ | |
<Query Id="0" Path="Security">\ | |
<Select Path="Security">*</Select>\ | |
</Query>\ | |
</QueryList> | |
</Input> | |
<Output out> | |
Module om_tcp | |
Host 10.100.2.39 | |
Port 5140 | |
Exec to_json(); | |
</Output> | |
<Route 1> | |
Path in => out | |
</Route> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment