Right now I have created a metric that shows maximum value of an power meter value X and after this value i would like to add the measure unit sent i within the same msg.
I have a modbus that sends different values and transported with filebeat into elastic as a json string. Type= measurement numValue= X unit=wh
I have an index mqtt*
I sort it with latest time observed and filter last 24h and show maximum of numValue.
I would like to have a visualization that show max(numValue) + (unit) is there a way to archive this?