# No docs showing up in discover after updating mappings and reindexing

**URL:** <https://discuss.elastic.co/t/no-docs-showing-up-in-discover-after-updating-mappings-and-reindexing/196966>\
**Category:** Kibana\
**Created:** [August 27, 2019, 3:12pm UTC](https://discuss.elastic.co/t/no-docs-showing-up-in-discover-after-updating-mappings-and-reindexing/196966 "2019-08-27T15:12:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alonchis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alonchis/32/52655_2.png) [@alonchis](https://discuss.elastic.co/u/alonchis)\
**Post date:** [August 27, 2019, 3:12pm UTC](https://discuss.elastic.co/t/no-docs-showing-up-in-discover-after-updating-mappings-and-reindexing/196966/1 "2019-08-27T15:12:44Z")

</div>

I noticed logstash wasnt indexing due to having a mapping issue (short instead of an integer). I updated the problematic mapping and reindex by:

- Reindex the "_example-2019.08.27_" to a temp index, "_example-temp_"
- Delete _example-2019.08.27_
- Reindex _example-temp_ to _example-2019.08.27_

What I expected to happen was to be able to see the docs in the discover tab as normal. There are approx 500k docs in that updated index (last i checked), but the data does not appear and new incoming logs are also not coming in.

This is happening in a development environment so there is no problem if we lose this day. Im more curious as to what happened and why are the docs not showing up. Any insights are truly appreciated.

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [August 27, 2019, 9:23pm UTC](https://discuss.elastic.co/t/no-docs-showing-up-in-discover-after-updating-mappings-and-reindexing/196966/2 "2019-08-27T21:23:42Z")

</div>

Can you verify that the data is in elasticsearch as expected?

And it would be good to verify - Does the index pattern match your new index? Is that index pattern selected in Discover?

---

<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:** [September 24, 2019, 9:23pm UTC](https://discuss.elastic.co/t/no-docs-showing-up-in-discover-after-updating-mappings-and-reindexing/196966/3 "2019-09-24T21:23:42Z")

</div>

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