Renaming metrics with same name

Running Grafana with Zabbix and doing a ping map. I swear in the past I’ve been able to use an override to rename just one source but it seems the generic override doesn’t work. My research says a Regex reference should be the fix but I can’t seem to work out how to extract the unique string values to do this.

I solved it. Use the functionality setalias under functions of the query rather than overrides. Hope this helps someone else or me in the future when I forget again.
Screenshot 2024-04-17 at 2.58.40 PM

1 Like