## Please set the ROOT to your nxlog installation directory #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 Module xm_syslog # Monitor application log files Module im_file File 'C:\\Program Files (x86)\\Mozilla Maintenance Service\\logs\\*.log' Exec $Message = $raw_event; Exec if file_name() =~ /.*\\(.*)/ $SourceName = $1; SavePos TRUE Recursive TRUE Module im_file File 'C:\\Program Files\\Mozilla Firefox\\uninstall\\uninstall.log' Exec $Message = $raw_event; Exec if file_name() =~ /.*\\(.*)/ $SourceName = $1; SavePos TRUE Recursive TRUE # Monitor Windows event logs # Uncomment for Windows Vista/2008 or later Module im_msvistalog # Uncomment for Windows 2000 or later # Module im_mseventlog Module pm_transformer Exec $Hostname = hostname(); OutputFormat syslog_rfc3164 Module pm_transformer # Uncomment to override the program name # Exec $SourceName = 'PROGRAM NAME'; Exec $Hostname = hostname(); OutputFormat syslog_rfc3164 Module om_udp Host 192.168.122.137 Port 514 Path eventlog => eventlog_transformer => syslogout Path watchfile => filewatcher_transformer => syslogout # Replace route 2 with this implementation if watchfile2 is active # # Path watchfile, watchfile2 => filewatcher_transformer => syslogout #