# Creating an index from two others using logstash

**URL:** <https://discuss.elastic.co/t/creating-an-index-from-two-others-using-logstash/210567>\
**Category:** Logstash\
**Created:** [December 4, 2019, 4:22pm UTC](https://discuss.elastic.co/t/creating-an-index-from-two-others-using-logstash/210567 "2019-12-04T16:22:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nsi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nsi/32/48731_2.png) [@Nsi](https://discuss.elastic.co/u/Nsi)\
**Post date:** [December 4, 2019, 4:22pm UTC](https://discuss.elastic.co/t/creating-an-index-from-two-others-using-logstash/210567/1 "2019-12-04T16:22:42Z")

</div>

Hello,  
Being fairly new to the API, I am having a hard time trying to create an index containing some fields {a, b, c} from two other indexes containing some {a, b} and {b, c} fields respectively (there is a 'b' field once and only once in both indexes). Is it a job for es' pipeline ? Or is it a task logstash should be carrying out ?

Thanks in advance for any hint

---

<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:** [January 1, 2020, 4:22pm UTC](https://discuss.elastic.co/t/creating-an-index-from-two-others-using-logstash/210567/2 "2020-01-01T16:22:46Z")

</div>

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