Chronograph - Request failed with status 440 using variables

Dears,

I am gathering metrics from my web servers and putting them into an InfluxDB. I’d like to be able to display some of these metrics on a dashboard.

To do it I’m trying use variables collected by “custom meta queries” that seems ok to me

show tag values on telegraf from system with key IN (host) WHERE “host” =~ /REGEX HERE/;

But my queries return an 440 error

Checking “Show Templates Values” I can’t see nothing wrong

Could someone help me

I think I solved the problem putting my variable in single quotes… Now it works to me.

But when I get my variable by “tag values” I don’t need use single quotes.

How could I really use it ?