InfluxDB 2.x: Administration

Aus Wiki-WebPerfect
Version vom 1. Februar 2022, 14:19 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Influx CLI

Influx CLI documentation: https://docs.influxdata.com/influxdb/v2.1/tools/influx-cli/

Configure Influx CLI (Linux)

Usually the Influx CLI will be configured with local InfluxDB configuration, but if you want to change the following guide maybe helps.

influx config create --active -n <CONFIGURATION_NAME> -u http://localhost:<YOUR_INFLUXDB_PORT> -o <INFLUXDB_ORG> -t <INFLUXDB_TOKEN>

User Management

#Create User:
influx user create -n <USERNAME> -p <PASSWORD> -o <INFLUXDB_ORG> 
 
#List User:
influx user ls
 
#Remove User:
influx user delete -i <ID>