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;
<Output outfiles>
Module om_tcp
Port 514
Exec to_syslog_bsd();

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


AskedMarch 13, 2018 - 9:49pm

Answer (1)

Replace the following:

Exec to_syslog_bsd();

with this:

Exec $raw_event = '%Filezilla ' + $raw_event;

Comments (1)

  • _omar_'s picture


    I tried with that change, saddly doesn't work. When I made that change there are not incoming new logs, if i change back to the old config,I can see new incoming logs.