# ES Index Insert-Update Issues

**URL:** <https://discuss.elastic.co/t/es-index-insert-update-issues/272989>\
**Category:** Elasticsearch\
**Created:** [May 14, 2021, 7:59am UTC](https://discuss.elastic.co/t/es-index-insert-update-issues/272989 "2021-05-14T07:59:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikramnr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramnr/32/66065_2.png) [@vikramnr](https://discuss.elastic.co/u/vikramnr)\
**Post date:** [May 14, 2021, 7:59am UTC](https://discuss.elastic.co/t/es-index-insert-update-issues/272989/1 "2021-05-14T07:59:27Z")

</div>

We have an index which updated every 5th minutes and at that 5th min the same index is updated six times for different sets of columns.We are using upsert to update and insert, if the value is not present. We also have \_id value, based on which the operation takes place. We also have default/null mapping for the fields. Data Inserted per hour max is 24k

Our issue is that sometimes the values are not getting updated for some set of columns and this is taken place at totally random times. When we re-insert the missing data at some different time, the operation is successful.

We have seen that it has not been the case of data volume since more number of values are getting loaded without any issues. We also could confirm that data was not updated by any other operation, as we have null mappings and all these values have the null mappings. We also had logs for insert, general errors and so far we don't have any errors logged.

How should we approach this issue from here on?

---

<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:** [May 17, 2021, 12:33am UTC](https://discuss.elastic.co/t/es-index-insert-update-issues/272989/2 "2021-05-17T00:33:11Z")

</div>

Turn up the logging level on your application, Elasticsearch will send back a response for the data that appears to have not been changed, which will tell you what's happening.

---

<div class="post-metadata">

**Author:** ![vikramnr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikramnr/32/66065_2.png) [@vikramnr](https://discuss.elastic.co/u/vikramnr)\
**Post date:** [May 19, 2021, 1:30am UTC](https://discuss.elastic.co/t/es-index-insert-update-issues/272989/3 "2021-05-19T01:30:05Z")

</div>

Thanks. Will try it out

---

<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 16, 2021, 1:30am UTC](https://discuss.elastic.co/t/es-index-insert-update-issues/272989/4 "2021-06-16T01:30:08Z")

</div>

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