I have the values like Name:"Christopher; Johnson" , "Christopher; Nolan" etc. with the firstname and lastname seperated by a semicolon from the ES datasource. I'm trying to get these names in the variable template in Grafana.
The query I tried:
{"find":"terms", "field":"Name", "query":"Name:*Christopher*"}
and the error I got is "Only word and digit characters are allowed in variable names". Doing
{"find":"terms", "field":"Name", "query":"Name:*Christopher* AND NOT Name:*;*"}
will filter out all the names having ";"
Is there a way to get all these variables in a query template like:
- Christopher
- Johnson
- Nolan
irrespective of whether it is a firstname or a lastname.
Any help would be much appreciated.