Add units to metric visualization in kibana

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?

Hi @Anton_Schleenvoigt

welcome to the Kibana community.

I think you can use Lens to build such visualization, and max(numValue) + (unit) can be a Lens Formula from what the mapping looks like.

Marco

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.