# Join data from an ES index with data from logstash

**URL:** <https://discuss.elastic.co/t/join-data-from-an-es-index-with-data-from-logstash/35330>\
**Category:** Logstash\
**Created:** [November 23, 2015, 4:48pm UTC](https://discuss.elastic.co/t/join-data-from-an-es-index-with-data-from-logstash/35330 "2015-11-23T16:48:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlivierD](https://avatars.discourse-cdn.com/v4/letter/o/ac8455/32.png) [@OlivierD](https://discuss.elastic.co/u/OlivierD)\
**Post date:** [November 23, 2015, 4:48pm UTC](https://discuss.elastic.co/t/join-data-from-an-es-index-with-data-from-logstash/35330/1 "2015-11-23T16:48:26Z")

</div>

I have indexed data from a referential (a list of providers, with their full name) from a file.  
With logstash, I index data from a DB that contains also the ID of providers.

I want, when reading data from DB with logstash, populate the full name of the provider, in order to have an index with denormalized data.

How can I do this ?

I worked with another search engine and I have realized a customized plugin, reading data from an index and storing then in memory, so, on the fly, I could add data during the load in the index.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 24, 2015, 6:43am UTC](https://discuss.elastic.co/t/join-data-from-an-es-index-with-data-from-logstash/35330/2 "2015-11-24T06:43:47Z")

</div>

If the data is in ES then you can use the ES filter to do something like this.  
Otherwise look at the translate plugin.

---

<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:** [July 6, 2017, 5:21am UTC](https://discuss.elastic.co/t/join-data-from-an-es-index-with-data-from-logstash/35330/3 "2017-07-06T05:21:38Z")

</div>

Closed on July 6, 2017, 5:21am UTC


