On Fri, Jul 31, 2015 at 4:35 PM, Timur Batyrshin <[email protected]> wrote:

> Hi Simon,
>
> Thanks for the link! I’ve also already found 2-3 implementations of
> thirdparty encoders/decoders.
> I’m just wondering now if this commonly used module should be in stock
> heka.
>

The cjson Lua library is available in Lua sandboxes out of the box, among
with many other libraries [1].

[1]
https://github.com/mozilla-services/lua_sandbox#functions-exposed-to-lua-by-the-core-sandbox


>
> Kind regards,
> Timur
>
>
> On 31 Jul 2015 17:24:20, Simon Pasquier <[email protected]> wrote:
> ------------------------------
> Hello Timur,
> I would advise to go with the Lua sandboxes: they're really easy to write.
> Look at the documentation for a simple example [1].
> HTH,
> Simon
> [1]
> http://hekad.readthedocs.org/en/v0.9.2/sandbox/json_payload_transform.html#json-payload-transform
>
> On Fri, Jul 31, 2015 at 2:57 PM, Timur Batyrshin <[email protected]> wrote:
>
>> Hi,
>>
>> I can’t find any reference in docs for JSON decoder/encoder.
>> Github issues say that there was a Go-based one but then it was replaced
>> by cjson.
>>
>> Is there a sandbox encoder/decoder for JSON or the way to use cjson
>> without writing lua?
>> Writing the plugin looks easy but I’d like to avoid that while I’m still
>> evaluating heka.
>>
>> Thanks,
>> Timur
>>
>>
>>
>>
>> _______________________________________________
>> Heka mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/heka
>>
>>
>
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to