# Real time data ..flush?

**URL:** <https://discuss.elastic.co/t/real-time-data-flush/53949>\
**Category:** Elasticsearch\
**Created:** [June 25, 2016, 8:37pm UTC](https://discuss.elastic.co/t/real-time-data-flush/53949 "2016-06-25T20:37:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Reddy](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Anil\_Reddy](https://discuss.elastic.co/u/Anil_Reddy)\
**Post date:** [June 25, 2016, 8:37pm UTC](https://discuss.elastic.co/t/real-time-data-flush/53949/1 "2016-06-25T20:37:09Z")

</div>

Hello,  
I am new to elastic, We are working on a scenario to pull the data using JDBC connection, every time we wanted to insert the new set of data to elastic instead of cumulative data update . Can you please advise what is the best way to achieve this. we tried flush option but it is not working.

---

<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:** [June 25, 2016, 8:42pm UTC](https://discuss.elastic.co/t/real-time-data-flush/53949/2 "2016-06-25T20:42:56Z")

</div>

What exactly is the problem?

---

<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 5, 2017, 10:40pm UTC](https://discuss.elastic.co/t/real-time-data-flush/53949/3 "2017-07-05T22:40:30Z")

</div>


