Linux/InfluxDB: Difference between revisions
< Linux
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
* Create v1 user | * Create v1 user | ||
<pre> | <pre> | ||
influx v1 auth create -o {orgName} --username | influx v1 auth create -o {orgName} --username {newuser} --password {newpass} -t {token} --read-bucket {bucketID} --write-bucket {bucketID} | ||
</pre> | </pre> | ||
Revision as of 20:20, 5 December 2023
Preparing v1 access via InfluxDB 2.x
- Create token in gui
- "Load Data" -> "API Tokens"
- Get Bucket ID
- "Load Data" -> "Buckets"
- Get Organization Name
- "User" -> "About" -> "Organization Profile" -> "Name"
- Access influx command line (docker exec -it influxdb sh)
- Create v1 user
influx v1 auth create -o {orgName} --username {newuser} --password {newpass} -t {token} --read-bucket {bucketID} --write-bucket {bucketID}