2019-01-21 21:43:08 +00:00
|
|
|
---
|
|
|
|
title: influx bucket create
|
2019-01-21 21:58:17 +00:00
|
|
|
description: The 'influx bucket create' command creates a new bucket in InfluxDB.
|
2019-01-21 21:43:08 +00:00
|
|
|
menu:
|
|
|
|
v2_0_ref:
|
|
|
|
name: influx bucket create
|
|
|
|
parent: influx bucket
|
2019-02-06 17:48:09 +00:00
|
|
|
weight: 201
|
2019-01-21 21:43:08 +00:00
|
|
|
---
|
|
|
|
|
2019-01-21 21:58:17 +00:00
|
|
|
The `influx bucket create` command creates a new bucket in InfluxDB.
|
2019-01-21 21:43:08 +00:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
```
|
|
|
|
influx bucket create [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Flags
|
2019-12-12 20:47:30 +00:00
|
|
|
| Flag | Description | Input type |
|
|
|
|
|:---- |:----------- |:----------: |
|
|
|
|
| `-h`, `--help` | Help for the `create` command | |
|
|
|
|
| `-n`, `--name` | Name of bucket that will be created | string |
|
|
|
|
| `-o`, `--org` | The name of the organization that owns the bucket | string |
|
|
|
|
| `--org-id` | The ID of the organization that owns the bucket | string |
|
|
|
|
| `-r`, `--retention` | Duration in nanoseconds data will live in bucket | duration |
|
2019-01-21 21:43:08 +00:00
|
|
|
|
2019-11-15 23:22:36 +00:00
|
|
|
{{% influx-cli-global-flags %}}
|