How to use multiple labels values as part of Legend using Labels to fields option from transforms

How can we select multiple labels values from the Labels to fields section to show in the Legend.
Currently I am trying to show host,if_name,if_desc as part of the legend for the my time-series data view. But I am getting option to select only one label.

  • What Grafana version and what operating system are you using?

grafana/grafana:8.5.5

  • What are you trying to achieve?

Modify the legend with multiple label values

  • How are you trying to achieve it?

By using the Labels to fields option from transforms

  • What happened?

I can only select one label, How to select multiple labels

  • What did you expect to happen?

Multiple labels to show in the legend

  • Can you copy/paste the configuration(s) that you are having problems with?

1 Like