[heka] Key value filter

2014-11-18 Thread Greg Cope
Hi All, Interested in using heka as an event multiplexer so that I can alert, graph and search events. One thing that is very handy is key/value pair logging and extraction, so that I can search logs/graph for certain events. logstash has a kv filter (http://logstash.net/docs/1.4.2/filters/kv).

Re: [heka] Key value filter

2014-11-18 Thread Krzysztof Krzyżaniak
W dni wto 18 lis, 2014 o 21∶59 użytkownik Greg Cope napisał: Hi All, Interested in using heka as an event multiplexer so that I can alert, graph and search events. One thing that is very handy is key/value pair logging and extraction, so that I can search logs/graph for certain events. lo

Re: [heka] Key value filter

2014-11-18 Thread Michael Trinkala
You would actually use a SandboxDecoder for this task. The plugin wouldn't consist of much more than this grammar: http://lpeg.trink.com/share/nvlist It is also the type of thing we will be discussing at the 'Heka Jam' tomorrow. https://mail.mozilla.org/pipermail/heka/2014-November/000251.html

Re: [heka] Key value filter

2014-11-18 Thread Greg Cope
On 18 November 2014 21:58, Michael Trinkala wrote: > You would actually use a SandboxDecoder for this task. The plugin > wouldn't consist of much more than this grammar: > http://lpeg.trink.com/share/nvlist > Ah... Need to check this as also need to understan

Re: [heka] Key value filter

2014-11-18 Thread Michael Trinkala
https://mail.mozilla.org/pipermail/heka/2014-November/000261.html (will be online too) See http://lpeg.trink.com/share/csv for an example of handling quoted strings. Trink - Original Message - > From: "Greg Cope" > To: "Michael Trinkala" > Cc: "Krzysztof Krzyżaniak" , heka@mozilla