General questions about ingest

(Pierre De Soyres) #1

I have general questions about the ingest feature in elasticsearch.

My need is to add several informations to the documents I index. Those informations are taken from external services reachable through REST APIs. I need to call many services, each of them will add one or more fields to my document. Each services can take a long time to execute.

I wanted to know if ingest feature is designed for performing such a long process.
Does the ingest pipeline execution is blocking or is it done in background ?
Can I write a custom ingest processor plugin that will perform the call to a REST API ?


(David Pilato) #2

Not really designed for that but I started a similar experience some months ago by running searches from an ingest processor.
This went pretty well but as you said if the service takes a looooong time to answer it will somehow block ingest nodes.

You can see a similar effort here:

I'd be super careful in writing such a component like Simon said at

(Pierre De Soyres) #3

Thank you David,

this is very clear. I understand why it is not a good option.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.