InfluxDB Docs

influx bucket create

The influx bucket create command creates a new bucket in InfluxDB.

Usage

influx bucket create [flags]

Flags

FlagDescriptionInput type
-h, --helpHelp for the create command
-n, --nameName of bucket that will be createdstring
-o, --orgThe name of the organization that owns the bucketstring
--org-idThe ID of the organization that owns the bucketstring
-r, --retentionDuration in nanoseconds data will live in bucketduration

Global Flags

FlagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--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 callsstring