þnxlog.confC:\Users\somasuns\Downloads\nxlog.conf0C:\Users\somasuns\AppData\Local\Temp\nxlog.confÄ## 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 define LOGDIR C:\Program Files (x86)\nxlog\log_deposit define BACKUP_DIR C:\Program Files (x86)\nxlog\log_backup Moduledir %ROOT%\modules CacheDir %ROOT%\data Pidfile %ROOT%\data\nxlog.pid LogFile %ROOT%\data\nxlog.log LogLevel INFO SpoolDir %ROOT% Module xm_syslog Module im_udp Host 0.0.0.0 Port 514 Exec parse_syslog_bsd(); # Dump $raw_event Exec log_info("HostName is: " + $HostName); CreateDir TRUE Module om_file File '%LOGDIR%\' + $HostName + ".log" Exec if out->file_size() > 15M \ { \ $newfile = '%BACKUP_DIR%\' + $Hostname + "_" + strftime(now(