The LogfileInput is not limited to traditional lines. The delimiter can occur anywhere in the input defining what constitutes a line but you cannot use the regex end of line anchor for it to work. Based on your example it looks likes you are dealing with traditional log lines and batching them into a single message would defer the parsing to the consumer (usually a filter) which is not recommended but it is possible.
Trink ----- Original Message ----- > From: "David Birdsong" <[email protected]> > To: [email protected] > Sent: Saturday, January 4, 2014 9:57:22 AM > Subject: [heka] help with log (multi)line decoder > I'm using hekad to read lines from a file and I'm trying to figure out a way > to buffer a few lines before creating a new heka message. > I tried using a regex as the delimiter: > https://gist.github.com/davidbirdsong/8258163 > but the docs clearly state that LogfileInput is line based. Is there a way to > match on multiple lines? > Do I need to drop into a lua decoder for this? Is there some way to achieve a > multi-line match using only toml? > _______________________________________________ > Heka mailing list > [email protected] > https://mail.mozilla.org/listinfo/heka
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

