Re: [heka] Grok based parsing

2015-09-25 Thread Mathieu Parent
2015-09-24 14:21 GMT+02:00 Andre : [...] > However the real advantage of grok is its user base and is reasonably > broad support by tools (.e.g. LogStash, FluentD, Graylog2, and > others)... > > This mean you gain an easy source of pre-defined parsing rules without > having

[heka] Grok based parsing

2015-09-24 Thread Andre
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

Re: [heka] Grok based parsing

2015-09-24 Thread Timur Batyrshin
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 

Re: [heka] Grok based parsing

2015-09-24 Thread Rob Miller
We have no intention of supporting grok in Heka. Yes, there are a lot of folks using grok out there. But grok was originally a layer built on top of regular expressions, designed to overcome the composability limitations that are there for standard regex. LPEG doesn't have these composability