Fetch additional info for each Elasticsearch

So, I have 2 indexes in my Elasticsearch server. I need to gather the results from the first index, and for each result I need to gather info from the second index.

How to do that? Tried the foreach processor, but no luck so far.


you can use logstash

input = first index read what you need

filter = Elasticsearch


1 Like

What you are describing sounds like a join, which Elasticsearch does not support at query time. I would recommend instead denormalizing the data set and joining the two indices.

1 Like

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