So, I have a script on a chrontab that pre-processes quite a bit of data to come up with a single metric for my product. I log the scripts results with a time stamp. Something like this:
I feed these into Logstash and tag them so I can and search for them in Kibana. It all works great!
What I am stuck on is getting the latest value into a "One Big Number" visualization. I want it to look like Metric, but obviously Metric isn't built for this sort of thing. The closest I have been able to do is to make a data table backed by my saved search, then add two term aggregations for the two fields shown above, then limit the page display to a single field.
Here is what I have so far:
Based on my reading it looks like I can change the query itself to only return a single result so that handles the multiple page issue, but beyond that I am stuck. This is what I want (hope) to be able to have it look like:
While the name might be a little misleading, you should actually use the metric visualization for this. Try out a "Top Hits" metric, which will sort the matched documents and grab the top value just like you're doing in the table, but show it in one big number:
This would be perfect! Can you explain how to unlock "Top Hits" for the Metric visualization? There is no mention of it in the documentation and as you can see I don't have it as an option:
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.