InfluxDB 2.x: Administration

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

Influx CLI

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

Get Influx CLI Configuration

influx config

Configure Influx CLI

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>