Advertisement
loic1112

Panic Soft

Jan 31st, 2021
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Panic Soft
  2. #NoFreeOnExit TRUE
  3.  
  4. define ROOT C:\Program Files (x86)\nxlog
  5. define CERTDIR %ROOT%\cert
  6. define CONFDIR %ROOT%\conf
  7. define LOGDIR %ROOT%\data
  8. define LOGFILE %LOGDIR%\nxlog.log
  9. LogFile %LOGFILE%
  10.  
  11. Moduledir %ROOT%\modules
  12. CacheDir %ROOT%\data
  13. Pidfile %ROOT%\data\nxlog.pid
  14. SpoolDir %ROOT%\data
  15.  
  16. <Extension _syslog>
  17. Module xm_syslog
  18. </Extension>
  19.  
  20. <Extension _gelf>
  21. Module xm_gelf
  22. </Extension>
  23.  
  24. <Input in_eventlog>
  25. Module im_msvistalog
  26. </Input>
  27.  
  28. <Input in_internal>
  29. Module im_internal
  30. </Input>
  31.  
  32. <Processor p_2syslog>
  33. Module pm_transformer
  34. Exec $Hostname = hostname();
  35. OutputFormat syslog_rfc5424
  36. </Processor>
  37.  
  38. <Output out>
  39. Module om_tcp
  40. Host 172.16.200.6
  41. Port 5214
  42. # Exec to_syslog_snare();
  43. OutputType GELF_TCP
  44. </Output>
  45.  
  46. <Route 1>
  47. Path in_internal, in_eventlog => p_2syslog => out
  48. </Route>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement