Create a bucket
Use the InfluxDB user interface (UI) or the
influx command line interface (CLI)
to create a bucket.
Create a bucket in the InfluxDB UI
Click the Settings tab in the navigation bar.
Select the Buckets tab.
Click Create Bucket in the upper right.
Enter a Name for the bucket.
Select How often to clear data?:
Select Never to retain data forever.
Select Periodically to define a specific retention policy.
Click Create to create the bucket.
Create a bucket using the influx CLI
influx bucket create command
to create a new bucket. A bucket requires the following:
- A name
- The name or ID of the organization to which it belongs
- A retention period in nanoseconds
# Pattern influx bucket create -n <bucket-name> -o <org-name> -r <retention period in nanoseconds> # Example influx bucket create -n my-bucket -o my-org -r 604800000000000
Bug Reports and Feedback
Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation. Submit feedback using one of the following methods:
- Post in the InfluxData Community
- In the InfluxDB UI, click Feedback in the left navigation bar.