redis [1]
The Redis module has only one driver, which is the Redis() destination driver. The Redis() driver sends messages as name-value pairs to a Redis key-value store.
Status
Testing
Configuration File Used
@version: 3.33
@include "scl.conf"
options {
stats-freq(10);
time-reopen(10);
};
source custom
{
example-msg-generator(
num(20)
freq(5)
template("Message to Redis")
);
};
destination d_redis {
redis(
host("localhost")
port(6379)
command("HINCRBY", "hosts", "$HOST", "$MESSAGE")
);
};
log {
source(custom);
destination(d_redis);
};Proof


Last updated