-
What Grafana version and what operating system are you using?
8.2.5, RHEL 8.4 -
What are you trying to achieve?
A field in the table contains “instances” which are URLs. I want those URLs to take me to the URL I see. -
How are you trying to achieve it?
I am Overriding fields with Name = “instance” with a Data Link of${__data.fields["Instance"]}
. I have also used${__data.fields.Instance}
with the same result. -
What happened?
As an example, an instance ofexample.com
links tohttp://my-grafana-server.com:3000/example.com
-
What did you expect to happen?
The link of the instance withexample.com
would point tohttp://example.com
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?
URL variables | Grafana Labs
If the URL is fully qualified with http://
or https://
then it should work as you expect.
So you would need to either ensure your URLs in your source data are qualified or if you know that all the URLs are always either http://
or https://
or it does not matter then change your data link to one of:
http://${__data.fields["Instance"]}
or
https://${__data.fields["Instance"]}
1 Like