# How to combine existing elasticsearch index with information from database (RDBMS) for doing additional analysis

**URL:** <https://discuss.elastic.co/t/how-to-combine-existing-elasticsearch-index-with-information-from-database-rdbms-for-doing-additional-analysis/18806>\
**Category:** Elasticsearch\
**Created:** [July 22, 2014, 11:55pm UTC](https://discuss.elastic.co/t/how-to-combine-existing-elasticsearch-index-with-information-from-database-rdbms-for-doing-additional-analysis/18806 "2014-07-22T23:55:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiveesuser](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@hiveesuser](https://discuss.elastic.co/u/hiveesuser)\
**Post date:** [July 22, 2014, 11:55pm UTC](https://discuss.elastic.co/t/how-to-combine-existing-elasticsearch-index-with-information-from-database-rdbms-for-doing-additional-analysis/18806/1 "2014-07-22T23:55:28Z")

</div>

Hi,

Can some one recommend, How to combine existing elasticsearch index with  
information from database (RDBMS) for doing additional analysis.

_Description:_

Database Table - MySQL I have some data in Database ( userid, location,  
useremail)

ElasticSearch Index - In Elasticsearch I have indexed data which has  
(Document) ( Userid, Messages Sent)

How can I query these two datastores to get information as

userid,location,useremail,messages Sent

Thanks,

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ac48a0f8-6e84-4c53-b16f-a6b52cd070ac%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ac48a0f8-6e84-4c53-b16f-a6b52cd070ac%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:14am UTC](https://discuss.elastic.co/t/how-to-combine-existing-elasticsearch-index-with-information-from-database-rdbms-for-doing-additional-analysis/18806/2 "2017-07-06T01:14:07Z")

</div>


