Currently trying to get the most recent value of a transactiondurationtime. I got a data table with the
name of transaction, average transaction duration, recent transaction duration (which I need to have/calculate)
I only get the options such as average, count, max, min but not recent. There is an advanced option for a JSON input but I cannot find a way to get this working. The field name is transactionduration.
Hi,
in Aggregation-based visualisation (the one you show) you can use a "top metric" aggregation on the field you want (transactionduration) sorted by timestamp descending. It does what you need.
You can also (even easier) do the visualization in Lens, there is a Last Value function for that.
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.