# Indexing after merging data from 2 tables from 2 different postgres db

**URL:** <https://discuss.elastic.co/t/indexing-after-merging-data-from-2-tables-from-2-different-postgres-db/273658>\
**Category:** Elasticsearch\
**Created:** [May 21, 2021, 11:48am UTC](https://discuss.elastic.co/t/indexing-after-merging-data-from-2-tables-from-2-different-postgres-db/273658 "2021-05-21T11:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi-shanker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi-shanker/32/87347_2.png) [@ravi-shanker](https://discuss.elastic.co/u/ravi-shanker)\
**Post date:** [May 21, 2021, 11:48am UTC](https://discuss.elastic.co/t/indexing-after-merging-data-from-2-tables-from-2-different-postgres-db/273658/1 "2021-05-21T11:48:12Z")

</div>

Dear ELK User's

Could you please guide me on how to approach the below requirement.

-- There are two tables in two different postgres db say db1 (table1) and db2 (table2).  
-- There is one column in table1 which has 14 different translation present in table 2.  
-- While indexing data from table1, corresponding data from table2 should also get indexed parallelly at the same time in the same index.  
-- How can I fetch both table1 and table2 (data corresponding to column present in table1) data into one index in Elasticsearch.

Anyone having any idea on this, please share

Thanks!

---

<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 18, 2021, 11:48am UTC](https://discuss.elastic.co/t/indexing-after-merging-data-from-2-tables-from-2-different-postgres-db/273658/2 "2021-06-18T11:48:42Z")

</div>

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