InfluxDB2/Configuration
From r00tedvw.com wiki
(Difference between revisions)
Line 3: | Line 3: | ||
[https://docs.influxdata.com/influxdb/v2.4/reference/cli/influx/setup/ influx setup] | [https://docs.influxdata.com/influxdb/v2.4/reference/cli/influx/setup/ influx setup] | ||
<nowiki>~$ /usr/bin/influx setup --org name-org --bucket name-bucket --username user --password password --force</nowiki> | <nowiki>~$ /usr/bin/influx setup --org name-org --bucket name-bucket --username user --password password --force</nowiki> | ||
+ | [https://docs.influxdata.com/influxdb/v2.4/organizations/create-org/ influx org create] | ||
+ | <nowiki>~$ /usr/bin/influx org create -n name-org</nowiki> | ||
+ | [https://docs.influxdata.com/influxdb/v2.4/users/create-user/ influx user create] | ||
+ | <nowiki>~$ /usr/bin/influx user create -n user -p password -o name-org</nowiki> | ||
+ | [https://docs.influxdata.com/influxdb/v2.4/organizations/buckets/create-bucket/ influx bucket create] | ||
+ | <nowiki>~$ /usr/bin/influx bucket create --name name-bucket --org name-org --retention 30d</nowiki> | ||
+ | [https://docs.influxdata.com/influxdb/v2.4/security/tokens/create-token/ influx auth create] | ||
+ | <nowiki>~$ /usr/bin/influx auth create --org name-org --read-bucket <alpha numeric bucket id> --read-tasks --write-bucket <alpha numeric bucket id> --write-tasks --user user |
Revision as of 22:26, 5 September 2022
Installation | Configuration
Initial Setup
~$ /usr/bin/influx setup --org name-org --bucket name-bucket --username user --password password --force
~$ /usr/bin/influx org create -n name-org
~$ /usr/bin/influx user create -n user -p password -o name-org
~$ /usr/bin/influx bucket create --name name-bucket --org name-org --retention 30d
~$ /usr/bin/influx auth create --org name-org --read-bucket <alpha numeric bucket id> --read-tasks --write-bucket <alpha numeric bucket id> --write-tasks --user user