# Reindexig after update

**URL:** <https://discuss.elastic.co/t/reindexig-after-update/256350>\
**Category:** Elasticsearch\
**Created:** [November 23, 2020, 12:00pm UTC](https://discuss.elastic.co/t/reindexig-after-update/256350 "2020-11-23T12:00:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![azxqw](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@azxqw](https://discuss.elastic.co/u/azxqw)\
**Post date:** [November 23, 2020, 12:00pm UTC](https://discuss.elastic.co/t/reindexig-after-update/256350/1 "2020-11-23T12:00:24Z")

</div>

Hi,  
I recently updated my elasticsearch & kibana from 5.6 to 6.8. everything worked great and the update was smooth.  
however, now that i update my logstash, i get the following error - " [Rejecting mapping update to as the final mapping would have more than 1 type]"  
and the upgrade assistant tells me i need to reindex all my indices. my question is - will reindexing all my indices result in loss of data?  
What is the best way to go about this?  
thank you

---

<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:** [November 23, 2020, 11:13pm UTC](https://discuss.elastic.co/t/reindexig-after-update/256350/2 "2020-11-23T23:13:31Z")

</div>

Welcome to our community! 😃

> [@azxqw](#):
>
> my question is - will reindexing all my indices result in loss of data?

No. There _may_ be data that cannot be reindexed, so you will need to resolve any issues before it can be reindex, but you will still retain the original event.

---

<div class="post-metadata">

**Author:** ![azxqw](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@azxqw](https://discuss.elastic.co/u/azxqw)\
**Post date:** [November 24, 2020, 8:02am UTC](https://discuss.elastic.co/t/reindexig-after-update/256350/3 "2020-11-24T08:02:16Z")

</div>

thank you!  
a follow up question - i rollbacked my logstash back from 6.8 to 5.6, and now everything works - logstash sends logs to elasticsearch without a problem  
why is that?

---

<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:** [November 24, 2020, 9:06am UTC](https://discuss.elastic.co/t/reindexig-after-update/256350/4 "2020-11-24T09:06:57Z")

</div>

I don't know sorry.

---

<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:** [December 22, 2020, 9:06am UTC](https://discuss.elastic.co/t/reindexig-after-update/256350/5 "2020-12-22T09:06:57Z")

</div>

Closed on December 22, 2020, 9:06am UTC

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