Access data from different index using ingest pipeline

hi all,
when a pipeline catches an index operation is there a way to query another index to get a specific field's value?
I mean, if the current document will be indexed into index1 but I want to create also another field getting value from index2 is it possible to use ingest pipeline? Maybe using script processor?
I know that I could use Logstash, but currently I cannot do it.

regards

currently there is no such functionality, but you may want to follow the progress in this issue https://github.com/elastic/elasticsearch/issues/32789

@spinscale thank you for the feedback.
just one doubt since I have updated my post probably when you were answering to it: script processor cannot be used to search into a specific index, right?

correct, a script processor cannot be used for a search.

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