InfluxDB Docs

influx bucket create

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


influx bucket create [flags]


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

Global flags

Global flagDescriptionInput type
--hostHTTP address of InfluxDB (default http://localhost:9999)string
--localRun commands locally against the filesystem
-t, --tokenAPI token to be used throughout client callsstring