Guest User

Untitled

a guest
Jan 11th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. #define ROOT C:\Program Files\nxlog
  2. define ROOT C:\Program Files (x86)\nxlog
  3.  
  4. Moduledir %ROOT%\modules
  5. CacheDir %ROOT%\data
  6. Pidfile %ROOT%\data\nxlog.pid
  7. SpoolDir %ROOT%\data
  8. LogFile %ROOT%\data\nxlog.log
  9.  
  10. <Extension _json>
  11. Module xm_json
  12. </Extension>
  13.  
  14. <Input WinEvtsIn>
  15. Module im_msvistalog
  16. Channel ForwardedEvents
  17. </Input>
  18.  
  19. <Output LogstashOut>
  20. Module om_tcp
  21. Host #TODO:$LogstasthIPHere
  22. Port #TODO:$LogstashPortHere
  23. Exec to_json(); $message = $raw_event;
  24. </Output>
  25.  
  26. <Route 1>
  27. Path WinEvtsIn => LogstashOut
  28. </Route>
Add Comment
Please, Sign In to add comment