Member since
07-20-2020
3
Posts
0
Kudos Received
0
Solutions
07-21-2020
11:12 AM
I found solution to this. I have wrote a NiFi processor,easy for me to write processor in Java, to convert XML to JSON. I didn't go the XSLT path as my XMLs structure would be different. Once i did convert the xml to json the delete function of the PutElasticsearchHttp processor worked. Thanks
... View more
07-21-2020
07:58 AM
OK seems. I am doing something wrong here. How do i delete a document from ElasticSearch using NiFi processor. I am using niFi version 1.8.0. Can i delete a document from ES with an attribute. without flow file? I ask this as I have already extracted attribute from file. I am going to use this as the identifier in NiFi processor.
... View more
07-20-2020
12:00 PM
Hi, I am trying to delete ES document using PutElasticsearchHttp. I can query for the document but when I try to delete i get error message "Flowfile content is not valid json" I get the flowfile in XML format. My identifier value is extracted as an attribute. This same attribute value can query ES and successfully fetch record I wanted to delete. This only fails when i add PutElasticsearchHttp process. The above is my configuration. Thanks
... View more
Labels:
- Labels:
-
Apache NiFi