Send xml files from syslog to syslog

Tags:

#1 GustavoM

Hello, I would like a simple help, I have a syslog server which I need to send logs from a file that is in xml to another syslog.

My configuration is as follows:

[...] <Extension _syslog> Module xm_syslog </Extension>

<Input in> Module im_file File '/var/log/alerts' </Input>

<Output out> Module om_udp Host xx.xxx.x.x Port 514 </Output>

<Route 1> Path in => out </Route>

Where "/var/log/alerts" are the xml logs that I want to send.

Is there any additional configuration I should put in my conf or is it just that? Thanks

#2 MisazivDeactivated Nxlog ✓
#1 GustavoM
Hello, I would like a simple help, I have a syslog server which I need to send logs from a file that is in xml to another syslog. My configuration is as follows: [...] <Extension _syslog> Module xm_syslog </Extension> <Input in> Module im_file File '/var/log/alerts' </Input> <Output out> Module om_udp Host xx.xxx.x.x Port 514 </Output> <Route 1> Path in => out </Route> Where "/var/log/alerts" are the xml logs that I want to send. Is there any additional configuration I should put in my conf or is it just that? Thanks

That should be enough to get you started.

-MisaZ