Hi folks,
I’m new to InfluxDB2 and had a bumpy start getting my toolchain going. I am running InfluxDB 2.6.1 on a Linux Debian hosted shared-system, along with MQTT, Telegraf and Grafana. The toolchain seems to be functional, I can see stuff happening on my dashboard but run into problems fine-tuning the system and create telegraf-buckets for downsampled data:
$ influx bucket create -o "foo" -n telegraf/day --retention 1d --shard-group-duration 1h
as well as
$ influx bucket create -o foo -n telegraf/day -r 1d --shard-group-duration 1h
and
$ influx bucket create -o "foo" -n telegraf/day -r 1d --shard-group-duration 1h -t MYTOKEN
all return
Error: no organization with name "foo"
Interestingly, $ influx auth list
returns an empty list
ID Description Token User Name User ID Permissions
as does $ influx auth list -t MYTOKEN
and $ influx org ls
ID Name
but
$ influx config list
returns
Active Name URL Org
* onboarding https:/url.org foo
default http://localhost:8086 foo
and foo
is the organization shown in the WebGUI. The WebGUI shows the existing and functional bucket, as does $ influx bucket ls
ID Name Retention Shard group duration Organization ID Schema Type
[ID] telegraf/actual 23h59m59s 2h0m0s [anotherID] implicit
I’m pretty much stuck here. My assumption is, that probably not having necessary sudo
privileges, hence my InfluxDB instance running under my hosted-system username which is different to the admin user I use to login into the WebGUI, messes this up.
While the WebGUI is nice, I don’t see a way how to translate the command
influx bucket create -o foo -n telegraf/day -r 1d --shard-group-duration 1h
in the WebGUI .
Any pointers taken, thanks!
BF