# Refresh index from database

**URL:** <https://discuss.elastic.co/t/refresh-index-from-database/232823>\
**Category:** Elasticsearch\
**Created:** [May 15, 2020, 12:45pm UTC](https://discuss.elastic.co/t/refresh-index-from-database/232823 "2020-05-15T12:45:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnasim](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@mnasim](https://discuss.elastic.co/u/mnasim)\
**Post date:** [May 15, 2020, 12:45pm UTC](https://discuss.elastic.co/t/refresh-index-from-database/232823/1 "2020-05-15T12:45:48Z")

</div>

Hi Support,

We have an existing database index created from Logstash process using JDBC input plugin.

Now database is continuously modifying. So that without dropping existing index it append all database entries in the index.

We need to refresh/reload data from Database and append in the existing index through API.

Please suggest.

Regards,  
Nasim

---

<div class="post-metadata">

**Author:** ![whatgeorgemade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whatgeorgemade/32/103246_2.png) [@whatgeorgemade](https://discuss.elastic.co/u/whatgeorgemade)\
**Post date:** [May 15, 2020, 6:36pm UTC](https://discuss.elastic.co/t/refresh-index-from-database/232823/2 "2020-05-15T18:36:12Z")

</div>

Have a look at [this post](https://discuss.elastic.co/t/realtime-sync-mysql-database-to-elasticsearch/190971). There are a couple of useful links in there.

---

<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 12, 2020, 6:36pm UTC](https://discuss.elastic.co/t/refresh-index-from-database/232823/3 "2020-06-12T18:36:14Z")

</div>

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