Skip to content

michaelgibson/heka-encoder-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

heka-encoder-filter

A filter plugin for Mozilla Heka that does nothing but encode the payload.

A use case for this would be anytime multiple encodings are required for the payload

This Filter should probably not exist but since there is currently no other mechanism within heka that allow for multiple encodings i.e. MultiEncoder, Mutate? this will have to do.

EncoderFilter

To Build

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-encoder-filter master)

Build Heka: . ./build.sh

Config

[encoder_filter_zlib]
type = "EncoderFilter"
encoder = "zlib_encoder"
message_matcher = "Fields[StreamAggregatorTag] == 'aggregated'"

[zlib_encoder]
type = "ZlibEncoder"
zlib_tag = "compressed"

About

A Heka filter that does nothing but encode the payload.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages