From 07b49eea6b2e70a6f372a244b4e7e26a486eb5af Mon Sep 17 00:00:00 2001 From: noramullen1 <42354779+noramullen1@users.noreply.github.com> Date: Wed, 29 Apr 2020 11:28:49 -0700 Subject: [PATCH] Create bucket in data explorer Addresses #979 --- .../organizations/buckets/create-bucket.md | 18 ++++++++++++++++++ content/v2.0/visualize-data/explore-metrics.md | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/content/v2.0/organizations/buckets/create-bucket.md b/content/v2.0/organizations/buckets/create-bucket.md index 07942f175..705cdd7f1 100644 --- a/content/v2.0/organizations/buckets/create-bucket.md +++ b/content/v2.0/organizations/buckets/create-bucket.md @@ -14,6 +14,10 @@ to create a bucket. ## Create a bucket in the InfluxDB UI +There are two places you can create a bucket in the UI. + +### Create a bucket from the Load Data menu + 1. In the navigation menu on the left, select **Data (Load Data)** > **Buckets**. {{< nav-icon "data" >}} @@ -25,6 +29,20 @@ to create a bucket. - **Older than** to choose a specific retention policy. 5. Click **Create** to create the bucket. +### Create a bucket in the Data Explorer + +1. In the navigation menu on the left, select **Explore* (**Data Explorer**). + + {{< nav-icon "data-explorer" >}} + +2. In the **From** panel in the Flux Builder, select `+ Create Bucket`. +3. Enter a **Name** for the bucket. +4. Select when to **Delete Data**: + - **Never** to retain data forever. + - **Older than** to choose a specific retention policy. +5. Click **Create** to create the bucket. + + ## Create a bucket using the influx CLI Use the [`influx bucket create` command](/v2.0/reference/cli/influx/bucket/create) diff --git a/content/v2.0/visualize-data/explore-metrics.md b/content/v2.0/visualize-data/explore-metrics.md index 9105307ef..ac4116aa5 100644 --- a/content/v2.0/visualize-data/explore-metrics.md +++ b/content/v2.0/visualize-data/explore-metrics.md @@ -31,7 +31,7 @@ See [Get started with Flux](/v2.0/query-data/get-started) to learn more about Fl {{< nav-icon "data-explorer" >}} 2. Use the Flux builder in the bottom panel to create a Flux query: - - Select a bucket to define your data source. + - Select a bucket to define your data source or select `+ Create Bucket` to add a new bucket. - Edit your time range with the [time range option](#select-time-range) in the dropdown menu. - Add filters to narrow your data by selecting attributes or columns in the dropdown menu. - Select **Group** from the **Filter** dropdown menu to group data into tables. For more about how grouping data in Flux works, see [Group data](/v2.0/query-data/flux/group-data/).