Change seres name in legend


Grafana 7.3.7
Elasticsearch 7.0.1

I would like to be able to change the legend name of my series with a custom name.

Browsing around the forum, I see that people advise to use the “alias” field but when I do so I does not change the name of the legend on the right Y axis. Changing the field name in the panels settings change all the series.

Is it possible to have a custom legend name for different query (…)?

On the screenshot, instead of having “Max” for every serie, I would like “Max” to be replaced by what I put in “Alias”.

1 Like