Influxv2 Heatmap Labels

Using Grafana 9.2.4. Backend is Influxv2. I have a heatmap. The Y axis shows
used_percent {host=“foo”,name=“mem”}

Is there a way to just show “foo”. Simalr to $__field.display.X? I can’t seem to find it.

Hi @rmorgan466,
Can you try with Rename by regex transformation like described on link:


Regex for your case:


.* - matches anything
host=" - after that it looks for string host="
([^"]*) - this is value that you will capture in first group (marked with $1). It captures everything till first double quote "
.* - matches anything after that

This will print only foo in this case.


Best regards,