I work with an ElasticSearch data source on Grafana 7.15. The data source has a field 'id' of which the type is 'keyword'. I'm trying to use a dynamic variable called 'site' in the JSON query meant to create another dynamic variable, 'id'. Here is the query The objective would be to modify this query so that the 'id' has to contain 'site'. For example, if the other variable 'site' has its value set to 'TORT', one possible id is 'LR_TORT_2354'.
I've tried various syntaxes, but I have no expertise in JSON, and I can't find the documentation for this particular situation anywhere. Thank you for your help!