@sil I’m sorry Im not quite understanding.
You can’t filter for values that do not match with the table.
If you want to filter for everything, don’t include a filter.
Is there no way, to find if a value i have as a Variable in grafana (here used in a filter) is in my database or not.
So to make it clear, i have a grafana variable and want to know if i have this value in field myDevice in my measurement. Hope this makes it more clear
You can replace filter in my example by variable that comes from Grafana.
Is full list of hosts fixed? May be you can get it by querying particular tag values in InfluxDB? If yes, replace dummy query in my example to such type of query.
as this list is not fixed and depends on different parameters. so what i want to do is to create this array (right) also from a variable out of grafana. is this possible? and i can’t use another query to get tags from influx, because i do not know if every value is in the database (in our example, Host3 is not in the database).
For me it doesn’t make sense to query hosts that never existed in the database. I thought that Host3 is in the database, but doesn’t have metrics in the chosen timeframe.
What is the expected use case? User enters list of hosts manually, and you want to display which hosts from his input are not valid and do not exist in the database as of now?
i get hosts from our CMDB as variables in grafana. and i want to build a dashboard, where the users can see, which hosts in de CMDB have never written logs to the influxdb.