1.6 KiB
1.6 KiB
title | description | menu | weight | ||||||
---|---|---|---|---|---|---|---|---|---|
influx bucket create | The 'influx bucket create' command creates a new bucket in InfluxDB. |
|
201 |
The influx bucket create
command creates a new bucket in InfluxDB.
Usage
influx bucket create [flags]
Flags
Flag | Description | Input type | {{< cli/mapped >}} | |
---|---|---|---|---|
-d |
--description |
Bucket description | string | |
-h |
--help |
Help for the create command |
||
--hide-headers |
Hide table headers (default false ) |
INFLUX_HIDE_HEADERS |
||
--json |
Output data as JSON (default false ) |
INFLUX_OUTPUT_JSON |
||
-n |
--name |
Bucket name | string | INFLUX_BUCKET_NAME |
-o |
--org |
Organization name | string | INFLUX_ORG |
--org-id |
Organization ID | string | INFLUX_ORG_ID |
|
-r |
--retention |
Duration bucket will retain data (0 is infinite, default is 0) | duration |
{{% cli/influx-global-flags %}}