diofanto33

test

Aug 5th, 2026
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. define ROOT C:\Program Files\nxlog
  2.  
  3. Moduledir %ROOT%\modules
  4. CacheDir %ROOT%\data
  5. Pidfile %ROOT%\data\nxlog.pid
  6. SpoolDir %ROOT%\data
  7. LogFile %ROOT%\data\nxlog.log
  8.  
  9. <Extension _syslog>
  10. Module xm_syslog
  11. </Extension>
  12.  
  13. <Input eventlog>
  14. Module im_msvistalog
  15. <QueryXML>
  16. <QueryList>
  17. <Query Id="0">
  18. <Select Path="Security">*</Select>
  19. <Select Path="System">*</Select>
  20. <Select Path="Application">*[System[(Level=1 or Level=2 or Level=3)]]</Select>
  21. </Query>
  22. </QueryList>
  23. </QueryXML>
  24. </Input>
  25.  
  26. <Output fsiem>
  27. Module om_udp
  28. Host 10.1.16.137
  29. Port 514
  30. Exec to_syslog_snare();
  31. </Output>
  32.  
  33. <Route eventlog_to_fsiem>
  34. Path eventlog => fsiem
  35. </Route>
Advertisement
Add Comment
Please, Sign In to add comment