I need to join data from 2 different indices in elasticsearch. The SQL equivalent of what I need accomplished:
SELECT index1.fieldA, index2.filedB, index1.fieldX, index2.fieldY
FROM index1, index2
WHERE index1.fieldX = index2.fieldY
I found a few elasticsearch/kibana plugins that do this (like siren, timeloin for eg), but I cannot install new software on the server, so I will need a solution that would work without any extra plugins.
I came across a lot of articles that describes creating 'parent-child relationships' but I am not certain how to use it over multiple indexes.
This join would be run only once, so I am not worried about speed/performanc, so is there a way I can do this through a simple json-formatted query?