Linux/InfluxDB: Difference between revisions

From Wiki
mNo edit summary
mNo edit summary
Line 16: Line 16:


== Settings in Node-RED ==
== Settings in Node-RED ==
* version = 1.x
<pre>
* database = database from previous step (e.g. mybucket)
version = 1.x
* username = from previous step
database = from previous step (e.g. mybucket)
* password = from previous step
username = from previous step
password = from previous step
</pre>


== Settings in Grafana ==
== Settings in Grafana ==

Revision as of 20:24, 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}

Settings in Node-RED

version = 1.x
database = from previous step (e.g. mybucket)
username = from previous step
password = from previous step

Settings in Grafana

Links