That worked great. Thank you very much.
Pat -----Original Message----- From: Matt Burgess [mailto:[email protected]] Sent: Friday, October 20, 2017 12:01 PM To: [email protected] Subject: Re: PutElasticsearchHttp array Pat, If you match the entire text, you should be able to do something like the following as the replacement: { "array": $1 } I didn't try this, but I think it should put the array into a JSON object. Although an array may be a valid JSON "object", I don't think Elasticsearch accepts them as such. Regards, Matt On Fri, Oct 20, 2017 at 11:14 AM, pat <[email protected]> wrote: > I want to put the whole array in as a single document. I thought the > array already was a JSON object. How should I change it (via > ReplaceText) so that elastic will accept it? > > thank you > > Pat > > > > -- > Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/
