mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 22:00:42 +01:00
12 lines
443 B
Plaintext
12 lines
443 B
Plaintext
$IncludeConfig diag-common.conf
|
|
template(name="outfmt" type="string" string="%$.hash_no_1% - %$.hash_no_2%\n")
|
|
|
|
module(load="../plugins/imtcp/.libs/imtcp")
|
|
module(load="../contrib/fmhash/.libs/fmhash")
|
|
input(type="imtcp" port="13514")
|
|
|
|
set $.hash_no_1 = hash64("0f9a1d07-a8c9-43a7-a6f7-198dca3d932e");
|
|
set $.hash_no_2 = hash64mod("0f9a1d07-a8c9-43a7-a6f7-198dca3d932e", 100);
|
|
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|