program() Destination Driver
The program() driver starts an external application or script and sends the log messages to its standard input (stdin).
Important Information
Status
How to Test
Shell Script
#!/bin/sh
while read line ; do
echo $line >> /Users/yash/Documents/test.txt
doneConfiguration File Used
@version: 3.31
@include "scl.conf"
source custom
{
example-msg-generator(
num(20)
freq(2)
template("Random Message")
);
};
destination d_prog {
program("/Users/yash/Documents/script");
};
log {
source(custom);
destination(d_prog);
};Proof


Last updated