# Kibana not showing all documents in index

**URL:** <https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979>\
**Category:** Kibana\
**Created:** [August 22, 2020, 9:48am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979 "2020-08-22T09:48:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diederik\_Mathijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diederik_mathijs/32/74345_2.png) [@Diederik\_Mathijs](https://discuss.elastic.co/u/Diederik_Mathijs)\
**Post date:** [August 22, 2020, 9:48am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/1 "2020-08-22T09:48:04Z")

</div>

Hi,

I'm having an issue with Kibana (I'm running es 7.9.0 and kb 7.9.0). In Kibana under my index management I see that the 'mag\_mapping' index contains 50 million documents. However, when I look in the Kibana discover tab, I only see 14 million documents that are found. There is no time filter active on the search, neither is there a time field included in the mapping. I want to understand why this happens to make sure that I can retrieve all 50 million documents.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6c527deaa8d7dd4561bb0d75a9eabd96ac060ae1.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/9/996860f629432a0cc27bc9f035e9115161d30f0d.png)

Any pointers as to why this may happen would be great.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 22, 2020, 9:54am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/2 "2020-08-22T09:54:51Z")

</div>

Welcome to the community @Diederik_Mathijs!

If you go to dev tools and run `GET mag_mapping/_count` what do you get?

---

<div class="post-metadata">

**Author:** ![Diederik\_Mathijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diederik_mathijs/32/74345_2.png) [@Diederik\_Mathijs](https://discuss.elastic.co/u/Diederik_Mathijs)\
**Post date:** [August 22, 2020, 10:07am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/3 "2020-08-22T10:07:10Z")

</div>

Thank you Aaron 🙂

It returns count:14314753 , which is the same number of documents that is displayed in Discover.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 22, 2020, 10:12am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/4 "2020-08-22T10:12:11Z")

</div>

I am thinking `14,314,753` is the correct count. I'll do some digging to see why the number is different on the index management page.

---

<div class="post-metadata">

**Author:** ![Diederik\_Mathijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diederik_mathijs/32/74345_2.png) [@Diederik\_Mathijs](https://discuss.elastic.co/u/Diederik_Mathijs)\
**Post date:** [August 22, 2020, 10:15am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/5 "2020-08-22T10:15:35Z")

</div>

I am unaware of how many documents were indexed, so it is entirely possible that `14,314,753` is the correct count.

I would love to understand why that happens, thank you.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 22, 2020, 10:18am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/6 "2020-08-22T10:18:05Z")

</div>

Are you using [nested fields](https://discuss.elastic.co/t/different-values-for-index-docs-count-in-kibana-sense/91278/3) by chance?

---

<div class="post-metadata">

**Author:** ![Diederik\_Mathijs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diederik_mathijs/32/74345_2.png) [@Diederik\_Mathijs](https://discuss.elastic.co/u/Diederik_Mathijs)\
**Post date:** [August 22, 2020, 10:25am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/7 "2020-08-22T10:25:03Z")

</div>

Yes, I do. So that is why I have 50 milion docs, thanks for helping me!  
And excuse me for re-posting this issue. I searched for a while but didn't find that particular post.

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 22, 2020, 10:30am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/8 "2020-08-22T10:30:13Z")

</div>

@Diederik_Mathijs no problem and good luck!

---

<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 19, 2020, 10:30am UTC](https://discuss.elastic.co/t/kibana-not-showing-all-documents-in-index/245979/9 "2020-09-19T10:30:15Z")

</div>

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