Send File by Syslog w/o header

View thread

_omar_

Hello

I'm using "NXLog CE" for send a file by syslog. So far I got this:

<Input filezilla>
	Module		im_file
	File		"C:\\Program Files (x86)\\FileZilla Server\\Logs\\fzs-*.log"
	SavePos 	TRUE
	Exec		$Message = '%FileZilla: ' + $raw_event;
</Input>
<Output outfiles>
    Module      om_tcp
    Host        10.226.6.210
    Port        514
    Exec		to_syslog_bsd();
</Output>

The file has lines like "(125419) 13/03/2018 12:32:59 - prtg (10.4.171.245)> QUIT" I want to get (on my syslog sever) "%FileZilla: (125419) 13/03/2018 12:32:59 - prtg (10.4.171.245)> QUIT" Instead, I got: "Mar 13 12:33:00 DSCRESJ %FileZilla: (125419) 13/03/2018 12:32:59 - prtg (10.4.171.245)> QUIT"

I think the "Mar 13 12:33:00 DSCRESJ" part is the header from to_syslog_bsd(). Anyway, I wonder If there a way to remove that header.

Regards.