Sending XML file to Syslog Receiver
I have a fairly simple question regarding sending an XML file to my SysLog Receiver (Nitro box). Currently, I'm attempting to send this file to my Nitro box, but I'm not actually seeing the Syslog being sent to Nitro. I have tcpdump watching for the packets being sent and I'm not getting any information across. I verified that packets were being sent and captured to the Nitro box with a generic Syslog generator. Here is my current .conf file.
## 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>
<Extension xm_xml>
Module xm_xml
</Extension>
<Input in>
Module im_file
File "C:\\Users\\Administrator\\Desktop\\NXLogTest\\test.xml"
</Input>
<Output out>
Module om_udp
Host xxx.xxx.xxx.xxx
Port 514
Exec to_syslog_bsd();
</Output>
<Route 1>
Path in => out
</Route>
After saving this file, I restart the service, but nothing is being sent. I also checked the logs and there was no error or warnings, the service stops, exits, and restarts nicely. I'd appreciate some help so I have a clear path moving forward.
Thanks!
You may want to set ReadFromLast to FALSE while testing.