We have our messages with a field timestamp, and I'd like to have a plot to view the difference from now to the max(timestamp). This way we can know if we are ingesting properly and how long has it been seen we did.
We are currently using elk 5.6.9, but we are planning on migrating soon to newer versions.
I couldn't think of a way to do this with existing Kibana visualizations because you can't add client side calculations there, but fortunately there is the Vega visualization which allows a lot of flexibility.
The following spec queries elasticsearch with a max aggregation on the @timestamp field and then does the calculation against the current time client side using a vega expression (of course you have to substitute your index pattern name and possibly time field name):
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.