Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
## 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
## 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\
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
<Extension json>
Module xm_json
<Input in_eventlog>
Module im_msvistalog
<Input in_vc_logs>
Module im_file
File 'C:\\ProgramData\\VMware\\VMware VirtualCenter\\Logs\\vpxd*.log'
SavePos TRUE
Exec $message = $raw_event;
Exec $hostname = hostname_fqdn();
Exec $filename = file_name();
<Output out_vc_logs>
Module om_udp
Port 1514
Exec to_json();
<Output out_eventlog>
Module om_udp
Port 1515
Exec to_json();
<Route vc_logs>
Path in_vc_logs => out_vc_logs
<Route eventlog>
Path in_eventlog => out_eventlog