InfluxDB- Trying to create OS variable which will display windows and linux host based on OS selection

Hi All,

Grafana version - 9.5.1?

Trying to create OS variable which will display windows and linux host based on OS selection.

  1. I have created varriable name os which is showing os details i.e windows and linux

  2. Created another varriable host and using with below query.
    import “influxdata/influxdb/schema”
    schema.tagValues(butket: “sourcebucket” , tag: $“os”

  3. Preview of value showing nothing

  4. as per my understanding it should display the host name.

Thanks & Regard