I'm working with Grafana and using KQL for log queries. I want to incorporate Grafana query variables into my KQL queries to make them more flexible and interactive. However, I'm facing challenges in understanding how to use query variables effectively in Grafana's KQL.
Specifically, I would like to know:
- How to define and use query variables in Grafana's KQL log queries? What syntax should be used to reference query variables in dashboard to the KQL query In Grafana?
- How can I ensure the query variables pass the desired values when i change the value on dashboard that need to refelct KQL query at runtime?
I have already explored the Grafana documentation, but I couldn't find detailed examples or explanations specific to KQL log queries.
I would greatly appreciate any guidance or examples demonstrating the usage of Grafana query variables in KQL log queries.