Hello All, Did you know how I can used syslog-ng for collects log messages from binary files. For example file: failedlogin. I can to transform it in plain-text file, but i don’t know how describe it in source driver (where syslog-ng receives log messages).

Thank you Robert for advice,

I do it, as you say here, early. I transform the binary file into text with crontab. And I think it is is not good, because syslog-ng register the latest even only when crontab complete cron job. So, I hope that syslog-ng has a in one’s own solution for work with binary format files.

Hi, if you can transform the binary files into text files automatically, then all you need is to create a file source in syslog-ng, and add it to a log path.

You can find the description and other details in the syslog-ng administrator guide at Documents Library

Basically, you should add add a few lines to the syslog-ng configuration file, something like:
source s_myfilesource { file(“/var/log/yourconvertedtextfile”};

and then include this destination in a log path (probably the one that sends the messages over to your central logserver).

HTH,

Robert