Please for querying data with flux into Influxdb2.0, can I query from a predefined variable ?
option = “275” and sometimes option =“269”. It depends the user choice.
Go to InfluxDB 2.0 UI
Settings > Variables > Create Variables
Enter a name (be careful, some names are keyword and not allowed), select Type CSV, enter the values (see example below).
Afterwards it should be possible to access this variable in flux with v._option (in my example) and also in the dashboard as dropdown selection.