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

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;

Why is this happening and how can I fix this?

Thanks in advance..

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.

Thanks @spinscale for the information :slight_smile:

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