Created
January 4, 2018 07:31
-
-
Save neu5ron/ad82daa2d452f56ba56d3610d5a0124f 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
#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 _json> | |
Module xm_json | |
</Extension> | |
<Input WinEvtsIn> | |
Module im_msvistalog | |
Channel ForwardedEvents | |
</Input> | |
<Output LogstashOut> | |
Module om_tcp | |
Host #TODO:$LogstasthIPHere | |
Port #TODO:$LogstashPortHere | |
Exec to_json(); $message = $raw_event; | |
</Output> | |
<Route 1> | |
Path WinEvtsIn => LogstashOut | |
</Route> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment