On Thu 05 Jun 2014 12:57:28 AM PDT, Victor Castell wrote:
That's great, I'm open to help with this, we can follow the
conversation in the issue.

Thanks for the offer, but I'd already gotten most of it done by the time you replied. I've just opened a pull request that contains both an elasticsearch.lua module for general use, and an es_payload.lua SandboxEncoder implementation that uses the module to replicate v0.5.2's `format = "payload"` behavior:

https://github.com/mozilla-services/heka/pull/890

Once that goes through code review and gets merged the docs will be updated, but for now you can see how to use the new encoder here:

https://github.com/mozilla-services/heka/blob/es_bulkapi_lua_module/sandbox/lua/encoders/es_payload.lua#L5

Should be pretty straightforward to work out how to convert from older payload format to the new spelling, but please let me know if you hit any hiccups.

-r

_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to