Re: Json Split

2016-05-17 Thread Madhukar Thota
uot;payload"} >>>> >>>> entry-2: {"index":{"_index":"mylogger-2014.06.05","_type":" >>>> mytype-host.domain.com"}} >>>> >>>> entry-3: {"json":"data","extra

Re: Json Split

2016-05-17 Thread Bryan Bende
t;> entry-3: {"json":"data","extracted":"from","message":"payload"} >>> >>> >>> >>> >>> >>> On Tue, May 17, 2016 at 1:29 PM, Andrew Grande <agra...@hortonworks.com> >>>

Re: Json Split

2016-05-17 Thread Bryan Bende
logger-2014.06.05","_type":" >> mytype-host.domain.com"}} >> >> entry-3: {"json":"data","extracted":"from","message":"payload"} >> >> >> >> >> >> On Tue, May

Re: Json Split

2016-05-17 Thread Madhukar Thota
;} On Tue, May 17, 2016 at 1:29 PM, Andrew Grande <agra...@hortonworks.com> wrote: > Try SplitText with a header line count of 1. It should skip it and give > the 2nd line as a result. > > Andrew > > From: Madhukar Thota <madhukar.th...@gmail.com> > Reply-To: "

Re: Json Split

2016-05-17 Thread Andrew Grande
rs@nifi.apache.org<mailto:users@nifi.apache.org>> Date: Tuesday, May 17, 2016 at 12:31 PM To: "users@nifi.apache.org<mailto:users@nifi.apache.org>" <users@nifi.apache.org<mailto:users@nifi.apache.org>> Subject: Re: Json Split Hi Bryan, I tried with lineCount 1, i see i

Re: Json Split

2016-05-17 Thread Madhukar Thota
Hi Bryan, I tried with lineCount 1, i see it splitting two documents. But i need to only one document "{"json":"data","extracted":"from","message":"payload"}" How can i get that? On Tue, May 17, 2016 at 12:21 PM, Bryan Bende wrote: > Hello, > > I think this would probably

Re: Json Split

2016-05-17 Thread Bryan Bende
Hello, I think this would probably be better handled by SplitText with a line count of 1. SplitJson would be more for splitting an array of JSON documents, or a field that is an array. -Bryan On Tue, May 17, 2016 at 12:15 PM, Madhukar Thota wrote: > I have a

Json Split

2016-05-17 Thread Madhukar Thota
I have a incoming json from kafka with two documents seperated by new line {"index":{"_index":"mylogger-2014.06.05","_type":"mytype-host.domain.com"}}{"json":"data","extracted":"from","message":"payload"} I want to get the second document after new line. How can i split the json by new line