You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by shankhamajumdar <sh...@lexmark.com> on 2017/03/13 10:42:13 UTC
PutElasticsearch Processor
Hi,
I am able to load single json to Elasticsearch using NiFi PutElasticsearch
Processor but while trying to load json array I am getting error.
Regards,
Shankha
--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/PutElasticsearch-Processor-tp15111.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
Re: PutElasticsearch Processor
Posted by Matt Burgess <ma...@gmail.com>.
Shanka,
PutElasticsearch expects a single JSON object as a document to put into ES. Try a SplitJson processor ahead of PutElasticsearch, probably using $[*] or $.* as the JSONPath expression.
Regards,
Matt
> On Mar 13, 2017, at 6:42 AM, shankhamajumdar <sh...@lexmark.com> wrote:
>
> Hi,
>
> I am able to load single json to Elasticsearch using NiFi PutElasticsearch
> Processor but while trying to load json array I am getting error.
>
> Regards,
> Shankha
>
>
>
> --
> View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/PutElasticsearch-Processor-tp15111.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.