1. Login on collector computer.
2. Download the latest version of nxlog. It is easiest to choose the Windows msi file which includes an installer.
http://nxlog.org/products/nxlog-community-edition/download
3. Open the Nxlog configuration file at:
C:\Program Files (x86)\nxlog\conf\nxlog.conf
4. Replace the entire content with the config given below:
## 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 http://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_Oracle>
Module im_file
File 'C:\app\adavalk\diag\rdbms\orcl\orcl\trace'
SavePos TRUE
Exec if $raw_event =~ /HealthMailbox/ drop();
Exec if $raw_event =~ /^#/ drop();
</Input>
<Output out_Oracle>
Module om_udp
Host CCE-IP
Port 514
Exec $SyslogFacilityValue = 2;
Exec $SourceName = 'oracle_logs';
Exec to_syslog_bsd();
</Output>
<Route 1>
Path in_Oracle => out_Oracle
</Route>
5. Restart nxlog services.