This is a Redis LPUSH ouput plugin for Heka.
Basically, you'll need to edit the cmake/plugin_loader.cmake
file and add
add_external_plugin(git https://github.com/hejinlong/heka-redis master)
and install dependency
go get github.com/garyburd/redigo/redis
and build heka.
Refer to Heka's offical Building External Plugins docs for more details.
Example:
[RedisOutput]
address = "127.0.0.1:6379"
key = "heka"
message_matcher = "TRUE"
encoder = "PayloadEncoder"
###Motto of Go: “Do more with less code”