Heka JSON Decoder using a SandboxDecoder and Lua
First let me say if you're looking for help on Heka, check out their IRC channel. It's full of great guys that are extremely helpful! [IRC: #heka on irc.mozilla.org]
This Heka JSON encoder converts any simple key/value JSON payload into Heka fields.
// sample json payload [{"name"=>"John Doe","title"=>"Sysadmin","@timestamp"=>"2014-09-02T22:10:28Z"}]
I hope to have a sample use case where we used this with a PHP application to import data into ElasticSearch. Pretty cool stuff - and super easy to setup with new and (in our case) legacy systems.
comments powered by Disqus