Hi
Does anyone have experience that writes your own ingest processor?
Is this possible to make a ingest processor that can query ES to retrieve a doc and that fill to the ingest doc before actual index?
By directly using Java API to query from ES is okay?
Ingest processors are limited to working with the current document, and should not call out. What you are looking to do should however be possible though Logstash and the use of the elasticsearch filter.
Hi @Christian_Dahlqvist
Thanks for your quick reply.
I'm limited to use elasticsearch only in this case. Basically what I need to do is to add a field to this ingest doc and that value is query from another index(in the same elasticsearch cluster). The easiest way to achieve to this is constructing doc in application side but unfortunately, application can't. So, I come to ingest pipeline to seek solution.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.