Creating template variables with flux

Hello,

You have to create your own variable in dashboard’s settings. You probably struggle with influxdb 2, you have one way to request tags:

import "influxdata/influxdb/schema"

schema.tagValues(
  bucket: "bucketName",
  tag: "tagName"
)

Others ways return only one row.

If you are used to influx 1 I advice to stay on it and get ride of influxdb for long term.

Best regards