NXLog Configuration
Zitat von mpca am 19. Februar 2021, 19:25 Uhrnxlog-ce.sourceforge.net/nxlog-docs/en/n...nual.html#forwarding
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at nxlog.org/nxlog-docs/en/nxlog-reference-manual.html## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.#define ROOT C:\Program Files\nxlog
define ROOT C:\Program Files (x86)\nxlogModuledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log<Extension syslog>
Module xm_syslog
</Extension><Input in>
Module im_mseventlog
</Input><Output out>
Module om_udp
Host SYSLOGSERVERIP
Port 514
</Output><Route 1>
Path in => out
</Route>
nxlog-ce.sourceforge.net/nxlog-docs/en/n...nual.html#forwarding
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at nxlog.org/nxlog-docs/en/nxlog-reference-manual.html
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
#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 syslog>
Module xm_syslog
</Extension>
<Input in>
Module im_mseventlog
</Input>
<Output out>
Module om_udp
Host SYSLOGSERVERIP
Port 514
</Output>
<Route 1>
Path in => out
</Route>