# Join two index using input elasticsearch/exec plugin in logstash

**URL:** <https://discuss.elastic.co/t/join-two-index-using-input-elasticsearch-exec-plugin-in-logstash/234256>\
**Category:** Logstash\
**Created:** [May 26, 2020, 7:17am UTC](https://discuss.elastic.co/t/join-two-index-using-input-elasticsearch-exec-plugin-in-logstash/234256 "2020-05-26T07:17:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aannee](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@aannee](https://discuss.elastic.co/u/aannee)\
**Post date:** [May 26, 2020, 7:17am UTC](https://discuss.elastic.co/t/join-two-index-using-input-elasticsearch-exec-plugin-in-logstash/234256/1 "2020-05-26T07:17:35Z")

</div>

Hi, It's my first time facing request like this so I'm thinking if is it possible to join 2 elasticsearch index using logstash? Because I think its not possible to have a join query in elasticsearch.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 23, 2020, 7:17am UTC](https://discuss.elastic.co/t/join-two-index-using-input-elasticsearch-exec-plugin-in-logstash/234256/2 "2020-06-23T07:17:36Z")

</div>

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