Hi Andre, Have you checked LPEG? It is really cool too. Here is a tutorial for it: http://lua-users.org/wiki/LpegTutorial Some real usage example in Heka can be used at https://github.com/mozilla-services/heka/tree/dev/sandbox/lua/decoders (for example https://github.com/mozilla-services/heka/blob/dev/sandbox/lua/decoders/linux_loadavg.lua#L48-L58 which is failrly easy to understand even without reading docs on LPEG). There is also an online LPEG testing tool as well with a few examples to play with it easily: http://lpeg.trink.com/
Regards Timur On 24 Sep 2015 at 13:38:54, Andre ([email protected]) wrote: Hi there, Grok is perhaps one of the coolest features of logstash (once you get used to debug it...) Do you think heka should have similar capability? If yes, what would you reckon, Go or Lua?* Cheers * - I could find pre existing implementations of Grok in both languages _______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

