Create a bucket
There are two places you can create a bucket in the UI.
In the navigation menu on the left, select Data (Load Data) > Buckets.
Data
Load Data
Click Create Bucket in the upper right.
Enter a Name for the bucket.
-
Never to retain data forever.
- Click Create to create the bucket.
Create a bucket in the Data Explorer
In the navigation menu on the left, select Explore* (Data Explorer**).
Explore
Data Explorer
In the From panel in the Flux Builder, select
+ Create Bucket
.Select when to Delete Data:
Never to retain data forever.
Older than to choose a specific retention policy.
- Click Create to create the bucket.
Create a bucket using the influx CLI
Use the influx bucket create
command to create a new bucket. A bucket requires the following:
- bucket name
retention period (duration to keep data) in one of the following units:
- nanoseconds (
ns
) - microseconds ( or
µs
) - milliseconds (
ms
) - seconds (
s
) - minutes ()
- hours (
h
) - days (
d
) weeks (
w
)
- nanoseconds (