mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 22:00:42 +01:00
Thanks to Michael Biebl for reporting this see also https://github.com/rsyslog/rsyslog/issues/524
10 lines
270 B
Plaintext
10 lines
270 B
Plaintext
$IncludeConfig diag-common.conf
|
|
template(name="outfmt" type="string" string="%$.random_no%\n")
|
|
|
|
module(load="../plugins/imtcp/.libs/imtcp")
|
|
input(type="imtcp" port="13514")
|
|
|
|
set $.random_no = random(10);
|
|
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|