# Number of indices displayed in Kibana is different from Elasticsearch's number of idices

**URL:** <https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217>\
**Category:** Elasticsearch\
**Created:** [February 7, 2017, 11:59am UTC](https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217 "2017-02-07T11:59:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [February 7, 2017, 11:59am UTC](https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217/1 "2017-02-07T11:59:13Z")

</div>

Hi,

i am using ELK GA 5.0.0, and I use httpbeat for Logsash API calls. I have it's index like below;

```
yellow open httpbeat-2017-02-07 Py2UnWmmQE6vOj7sBs7iwg 5 1 688 0 433.1kb 433.1kb

```

I have a single elasticsearch node and all of my other indices are working fine. When I list indices using `http://localhost:9200/_cat/indices?v` it shows `docs.count` as 688, but when I open Kibana, it is showing only 172 hits;

 ![](https://us1.discourse-cdn.com/elastic/original/2X/d/dcce69e479d46ee59c945af9e58557ead0742fb2.PNG)

Why is this happening and how can I fix this?

Thanks in advance..

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 7, 2017, 12:41pm UTC](https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217/2 "2017-02-07T12:41:26Z")

</div>

This is nothing to worry about. httpbeat uses a feature called nested documents - which are kidn of subdocuments inside of a document. So that when indexing one JSON document, internally thee are actually several documents stored in lucene. This is the discrepancy. The `_cat` API counts by lucene document, kibana by query result.

---

<div class="post-metadata">

**Author:** ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Post date:** [February 7, 2017, 12:43pm UTC](https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217/3 "2017-02-07T12:43:29Z")

</div>

Thanks @spinscale for the information 🙂

---

<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:** [March 7, 2017, 12:43pm UTC](https://discuss.elastic.co/t/number-of-indices-displayed-in-kibana-is-different-from-elasticsearchs-number-of-idices/74217/4 "2017-03-07T12:43:39Z")

</div>

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