立即与支持人员聊天
与支持团队交流

syslog-ng Open Source Edition 3.16 - Release Notes

program: Receiving messages from external applications

program: Receiving messages from external applications

The program driver starts an external application and reads messages from the standard output (stdout) of the application. It is mainly useful to receive log messages from daemons that accept incoming messages and convert them to log messages.

The program driver has a single required parameter, specifying the name of the application to start.

Declaration:
program(filename);
Example: Using the program() driver
source s_program {
    program("/etc/init.d/mydaemon");
};

NOTE:

The program is restarted automatically if it exits.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级