InfluxDB Docs

influx config set

The influx config set command updates information in an InfluxDB connection configuration in the configs file (by default, stored at ~/.influxdbv2/configs).

Usage

influx config set [flags]

Aliases

set , update

Flags

FlagDescriptionInput typeMaps to ?
-a, --activeSet the specified connection to active
-h, --helpHelp for the set command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-n, --nameName for the InfluxDB connection configuration to set or updatestring
-o , --orgOrganization name for the connection configurationstring
-u, --url(Required) URL for InfluxDB connection configuration to set or updatestring

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstringINFLUX_TOKEN