Last value variable from ElasticSearch data

Hi,
I have the following variable to pull system uptime from Elasticsearch:

{“find”:“terms”,“field”:“uptime.keyword”}

What I would like to do is have only the last value represented in the variable. Is this possible?

Thanks

Hi,

You can do that, check on the value for your panel by the default it would be set to mean, choose Last non null.

Good Luck

Hi,
I don’t have the option of a panel as I am not using the variable directly in a visualisation, but passing it on to another variable.
Thanks