Protobuf filter plugin for Mozilla Heka
See Building hekad with External Plugins for compiling in plugins.
Edit cmake/plugin_loader.cmake file and add
add_external_plugin(git https://github.com/michaelgibson/heka-protobuf-filter master)
Build Heka: . ./build.sh
[filter_protobuf]
type = "ProtobufFilter"
message_matcher = "Fields[decoded] == 'True'"
flush_interval = 30000
flush_bytes = 10000
protobuf_tag = "protobuf_filtered"
encoder = "ProtobufEncoder"
delimitter = "\n"