37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
---
|
|
title: View buckets
|
|
seotitle: View buckets in InfluxDB
|
|
description: View a list of all the buckets for an organization in InfluxDB using the InfluxDB UI or the influx CLI.
|
|
menu:
|
|
influxdb_v2:
|
|
name: View buckets
|
|
parent: Manage buckets
|
|
weight: 202
|
|
aliases:
|
|
- /influxdb/v2/organizations/buckets/view-buckets/
|
|
---
|
|
|
|
## View buckets in the InfluxDB UI
|
|
|
|
1. In the navigation menu on the left, select **Data (Load Data)** > **Buckets**.
|
|
|
|
{{< nav-icon "data" >}}
|
|
|
|
A list of buckets with their retention policies and IDs appears.
|
|
|
|
2. Click a bucket to open it in the **Data Explorer**.
|
|
3. Click the **bucket ID** to copy it to the clipboard.
|
|
|
|
## View buckets using the influx CLI
|
|
|
|
Use the [`influx bucket list` command](/influxdb/v2/reference/cli/influx/bucket/list)
|
|
to view a buckets in an organization.
|
|
|
|
```sh
|
|
influx bucket list
|
|
```
|
|
|
|
Other filtering options such as filtering by organization, name, or ID are available.
|
|
See the [`influx bucket list` documentation](/influxdb/v2/reference/cli/influx/bucket/list)
|
|
for information about other available flags.
|