Hi,
I need assistance configuring a data link in a Graph Time Series Visualization Panel using Elasticsearch as the datasource. Here is the setup I am working with:
- Group By Fields:
Unique.Id
andItr.Id
- Query Fields:
Unique.Id
andItr.Id
- Value Fields:
Unique.Id=123
andItr.Id=321
- Data Link Example:
https://www.test.com/id=123/itr_id=321
I referred to this documentation: Grafana Docs on Data Links.
The documentation mentions using __field.labels.<LABEL>
to insert a label’s value into the URL. If the label contains dots, the syntax should be __field.labels["<LABEL>"]
.
However, my attempt with this format is not showing the transformed URL correctly:
https://www.test.com/id=${__field.labels["Unique.Id"]}/itr_id=${__field.labels["Itr.Id"]}
Can you help identify what might be going wrong? Thank you!