How to change label to job name

Hi all. Im new to grafana and i would like to ask how can i change the label of metrics to show only job name

Currently when i put rlEnvMonFanState as a Query i get this:
rlEnvMonFanState{instance=“192.168.192.168”, job=“device1”, rlEnvMonFanStatusIndex=“3213”}

to each of my devices

How can i change it to show only device1 as a label ?

Using prometheus as DB and when i run the rlEnvMonFanState query on Element im seeing the same thing.

From this post i found what did work for me

On query editor, look for Options > legend under metrics browser field

Press on options and on legend dropdown choose custom
Than write job between {{ }}