Advertisement
Guest User

NXLOG Configuration

a guest
Sep 2nd, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. 32-bit NXLOG Config
  2.  
  3. define ROOT C:\Program Files\nxlog
  4. #define ROOT C:\Program Files (x86)\nxlog
  5.  
  6. Moduledir %ROOT%\modules
  7. CacheDir %ROOT%\data
  8. Pidfile %ROOT%\data\nxlog.pid
  9. SpoolDir %ROOT%\data
  10. LogFile %ROOT%\data\nxlog.log
  11.  
  12.  
  13. <Extension syslog>
  14. Module xm_gelf
  15. </Extension>
  16.  
  17. <Input internal>
  18. Module im_internal
  19. </Input>
  20.  
  21. <Input eventlog>
  22. Module im_mseventlog
  23. </Input>
  24.  
  25. <Output out>
  26. Module om_udp
  27. Host LOGHOST.corp
  28. Port 12201
  29. OutputType GELF
  30. </Output>
  31.  
  32. <Route 1>
  33. Path eventlog, internal => out
  34. </Route>
  35.  
  36.  
  37. 64-bit NXLOG Config
  38.  
  39.  
  40. #define ROOT C:\Program Files\nxlog
  41. define ROOT C:\Program Files (x86)\nxlog
  42.  
  43. Moduledir %ROOT%\modules
  44. CacheDir %ROOT%\data
  45. Pidfile %ROOT%\data\nxlog.pid
  46. SpoolDir %ROOT%\data
  47. LogFile %ROOT%\data\nxlog.log
  48.  
  49.  
  50. <Extension syslog>
  51. Module xm_gelf
  52. </Extension>
  53.  
  54. <Input internal>
  55. Module im_internal
  56. </Input>
  57.  
  58. <Input eventlog>
  59. Module im_msvistalog
  60. </Input>
  61.  
  62. <Output out>
  63. Module om_udp
  64. Host LOGHOST.corp
  65. Port 12201
  66. OutputType GELF
  67. </Output>
  68.  
  69. <Route 1>
  70. Path eventlog, internal => out
  71. </Route>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement