# Updating data

**URL:** <https://discuss.elastic.co/t/updating-data/143186>\
**Category:** Logstash\
**Created:** [August 6, 2018, 2:49pm UTC](https://discuss.elastic.co/t/updating-data/143186 "2018-08-06T14:49:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Olha1](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Olha1](https://discuss.elastic.co/u/Olha1)\
**Post date:** [August 7, 2018, 9:59am UTC](https://discuss.elastic.co/t/updating-data/143186/3 "2018-08-07T09:59:32Z")

</div>

My logstash adding data from database again and again. If I have 100 rows in database, logstash adding 100 rows, then 100 more rows, etc.  
If I have in logstash OUTPUT in elasticsearch the field: document\_id =\> "%{[ID]}, then program update my data again and again. It is like 88 rows, f5 99 rows, f5 3 rows, f5 45 rows, etc.

---

_[View the full topic](https://discuss.elastic.co/t/updating-data/143186)._
