Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # user - morphlines + syslog rfc5424 record including json content


Copy link to this message
-
Re: morphlines + syslog rfc5424 record including json content
Wolfgang Hoschek 2014-03-27, 05:27
To fix up invalid JSON you can try readClob (or maybe readLine) followed by findReplace or grok, followed by toByteArray, followed by setValues { _attachment_body : "@{message}" }, followed by readJson.

Wolfgang.

On Mar 26, 2014, at 8:59 PM, Andrew Sammut <[EMAIL PROTECTED]> wrote: