influx-cli
influx-cli copied to clipboard
Influx Query: Inconsistent org requirement or missing error message
Current behavior:
I have a influxd db with two bucket. Both bucket have similar data. One for continius data and one for tests.
When I query the test bucket I get the result. When I query the normal bucket I get no result for complex queries. When I only query range without any filter or use of any importet functions I get an error. "Error: must specify org ID or org name"
If I specify the org, both buckets work!
Desired behavior:
- The query should work equal for both bucket
- "Error: must specify org ID or org name" also for queries with filter or use of funktions like "influxdb.cardinality"
To Reproduce
.\influx query -r -t mytoken
from(bucket: "MyBucket_Debug") |> range(start: -10m)
.\influx query -r -t mytoken
from(bucket: "MyBucket") |> range(start: -10m)
Error: must specify org ID or org name
Version
InfluxDB v2.6 on Windows 10