GetElasticsearch 2.0.0

Bundle
org.apache.nifi | nifi-elasticsearch-restapi-nar
Description
Elasticsearch get processor that uses the official Elastic REST client libraries to fetch a single document from Elasticsearch by _id. Note that the full body of the document will be read into memory before being written to a FlowFile for transfer.
Tags
elasticsearch, elasticsearch5, elasticsearch6, elasticsearch7, elasticsearch8, index, json, put, record
Input Requirement
ALLOWED
Supports Sensitive Dynamic Properties
false
Properties
Dynamic Properties
Relationships
Name Description
failure All flowfiles that fail for reasons unrelated to server availability go to this relationship.
document Fetched documents are routed to this relationship.
not_found A FlowFile is routed to this relationship if the specified document does not exist in the Elasticsearch cluster.
retry All flowfiles that fail due to server/cluster availability go to this relationship.
Writes Attributes
Name Description
filename The filename attribute is set to the document identifier
elasticsearch.index The Elasticsearch index containing the document
elasticsearch.type The Elasticsearch document type
elasticsearch.get.error The error message provided by Elasticsearch if there is an error fetching the document.
See Also