I don't know if this is a Kibana problem or ES problem or a LS problem.
I have one LS, one Kibana and a five cluster ES data nodes (with one being the master) (six if you count the coordinating server on Kibana).
In Kibana, when I go to the Discover tab, I am missing the most recent 3-15 minutes of events at any time.
When I look at the Monitor tab, the LS says it has minimal latency, Events Emitted avg is in the 850 range and Events Received avg is a little higher in the 870 range (I'm dropping several events types which accounts I believe accounts for the difference).
All ES indications are low as well (search rate, indexing rate, search latency, indexing latency). There are no errors in the logs, so I'm wondering where do I look to start troubleshooting?
Is this a problem with Kibana? ES? Or do I just need another LS?
I would start by looking at the system that adds the timestamps to the documents in your index. (Maybe that's being done by Elasticsearch or maybe the timestamps are saved before the document goes to Elasticsearch.) Is that system clock perhaps a few minutes behind the clock of the client system? That would be an easy fix, so hopefully it's something as simple as that.
Another thing to check, if you do a search directly to Elasticsearch for the most recent document, is it the document you would expect to see, or is it an older one? If ES is doesn't have the recent documents until some time goes by, then you'd want to look closely at your pipeline.
Is Elasticsearch the output for Logstash or do events go through other queuing system(s) first?
This doesn't look like a Kibana or Discover app issue. Discover is correctly finding the documents for the time range.
These charts are about Event Rates, which is number of events per second. Received is higher than Emitted because some of the events that are received are not emitted, due to filtering.
There's also a latency chart, which is about the time it takes for your pipeline to process events from filter stage to output stage. What kind of numbers are you seeing in the latency chart?
Is Elasticsearch the output of your Logstash pipeline or something else?
Do you perhaps have multiple timestamp fields in the documents? Might want to double-check that you've set the correct one in the Kibana index pattern.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.