2012-03-23 16:57:47 +01:00
..
2012-03-21 07:40:43 +01:00
2012-03-21 07:40:43 +01:00
2012-03-21 07:40:43 +01:00
2012-03-21 07:40:43 +01:00

Redis Outplug Plugin using hiredis library

tested in Centos 6.2

BUILDING THIS PLUGIN
Requires the hiredis C client library: https://github.com/antirez/hiredis/

in your /etc/rsyslog.conf, together with other modules:

TODO

* Error handling for redis calls
* Integrating with impstats
* Clean up code
* Make it work with rsyslog batch mode
* Fix bugs

Brian Knox <bknox@talksum.com>

---------------------------------------------------------------------------------------------
$ModLoad omhiredis.so # provides redis output

$template TestRedis, "hincrby progcount %programname% 1"

if $msg then {
    action(type="omhiredis", template="TestRedis")
}
---------------------------------------------------------------------------------------------