Data link for grafana explorer (elasticsearch)

Hi All,

I’m using grafana 6.4.4 and elastic 7.4.2 and in data links I added the grafana explorer url to show the log requests
For this In query I added ${} (the hostname in my case) to the url and all works great

Unfortunately I like to add a comment to the legend, something like 'serverA is down" but if I change Alias {} will be not useful for me - {} = serverA is down

For now I’m extracting the hostname with {{hostname.keyword}} queries Alias = {{hostname.keyword}}

Do you think I could extract the hostname.keyword from a specific queries and use it in data links and after that write a custom Alias name ?


Maybe use a way to use Label1 in Legand and Alias in url, there is a way to do that ?