> What you need is the following:
> Exec $Message = $raw_event; to_syslog_xxx();
>
Excellent, thanks.
Added it to the input statement in case I need/want to send data from other
sources on the same machine.
Module im_file
File"C:\\Windows\\Sysnative\\dhcp\\DhcpSrvLog-*.l
> >
> > Module om_tcp
> > Hostsyslog.company.com
> > Port514
> > # Exec to_syslog_ietf();
> Since this is disabled, the tcp output sends the dhcp logs as is, i.e.
> not in syslog format. This most likely confuses your syslog daemon on
> the other end.
Hi everyone.
I've been trying to set up nxlog to send Windows DHCP logs (files) to a syslog
server.
This is my config:
---
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