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 <[email protected]> 
> 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.

Reply via email to