InfluxDB Docs

influx setup

The influx setup command walks through the initial InfluxDB setup process, creating a default user, organization, and bucket.

Usage

influx setup [flags]

Flags

FlagDescriptionData type
-b, --bucketPrimary bucket namestring
-f, --forceSkip confirmation prompt
-h, --helpHelp for the setup command
-o, --orgPrimary organization namestring
-p, --passwordPassword for primary userstring
-r, --retentionDuration bucket will retain data (0 is infinite, default is 0)duration
-u, --usernamePrimary usernamestring

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

New! Cloud or OSS?