Exact field value on metric visualization

I have a question related to elastic search,
I have a field returned
CPUs=4
I want to create a metrics visualization for it,but the aggregations available are count,max,min ....etc
I want it just to display the returned value (4)
any help?

master/cpus_total" => 4,

If you get the max value for that it should be what you want.

But it goes up and down, I want the metric to go up and down with the value

So if the value changes then so would the max.

But if am visualising for the last 5m , max will give me the max value of last 5m. But what if i want to see the most recent value instead of max value in last 5m.

Exactly