How to Get Info I need in Graph

Hello Everyone,

Sorry if this is a stupid question, in the dashboard I am creating I would like to get the actual name of the ports instead of numbers.

The metrics look like this:

A - ifInOctets{job=“PaloAlto 1”} # This for the traffic coming in
legend format {{ifIndex}} # this only gives me the numerical value of said port.

The below is the actual metric

I would rather have this
ifDescr{ifDescr=“ethernet1/1”,ifIndex=“1”} # The ifDescr in the braces is what I want. Is it possible to get that in the graph to replace the port number?

I hope I made it clear if not Iwill try and clear it up.