# How to import newly added record from sql server to elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-import-newly-added-record-from-sql-server-to-elasticsearch/195508>\
**Category:** Logstash\
**Created:** [August 16, 2019, 2:02pm UTC](https://discuss.elastic.co/t/how-to-import-newly-added-record-from-sql-server-to-elasticsearch/195508 "2019-08-16T14:02:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rameshkr1994](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rameshkr1994/32/59029_2.png) [@rameshkr1994](https://discuss.elastic.co/u/rameshkr1994)\
**Post date:** [August 16, 2019, 2:02pm UTC](https://discuss.elastic.co/t/how-to-import-newly-added-record-from-sql-server-to-elasticsearch/195508/1 "2019-08-16T14:02:59Z")

</div>

Dear All.

Hope doing well.

need some help from your side:-

Case:-1  
i have three different table in sql\_server side and i am using join here based on single column that column is matching with all table records.

case:-02  
for importing all join records from sql server to Elastics each(USING JDBC-LOGSTASH HERE)

case:-03  
Now we are getting newly data every-time in sql server tables and we want to update exiting Elastic-search INDEX within newly added/inserted/updated records from sql-server (Using JDBC-LOGSTASH)?

Case:-  
this case depend on me/you how can we achieve this issue.

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:** [September 13, 2019, 2:03pm UTC](https://discuss.elastic.co/t/how-to-import-newly-added-record-from-sql-server-to-elasticsearch/195508/2 "2019-09-13T14:03:09Z")

</div>

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