I simply want to create a variable of all possible values of a tag within a measurement. In influx v2 its a mystery. I’ve scoured the v2 docs and its not obvious how to do this. I found this: https://v2.docs.influxdata.com/v2.0/visualize-data/variables/common-variables/. It says to query this:
import "influxdata/influxdb/v1" v1.tagValues(bucket: "bucket-name", tag: "host")
But, what the heck is that? I tried using it, changing out the values for my circumstance but just kept getting errors in the script editor.
I’m using cloud2.influxdata.com.