---
title: View InfluxDB stacks
description: Use the influx stacks command to view installed InfluxDB stacks and their associated resources.
url: https://docs.influxdata.com/influxdb/v2/tools/influxdb-templates/stacks/view/
estimated_tokens: 1021
product: InfluxDB OSS v2
version: v2
---

# View InfluxDB stacks

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — **capture any plaintext tokens you still need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

Use the [`influx stacks` command](/influxdb/v2/reference/cli/influx/stacks/) to view installed InfluxDB stacks and their associated resources.

**Provide the following:**

-   Organization name or ID

```sh
# Syntax
influx stacks -o <org-name>

# Example
influx stacks -o example-org
```

### Filter stacks

To output information about specific stacks, use the `--stack-name` or `--stack-id` flags to filter output by stack names or stack IDs.

##### Filter by stack name

```sh
# Syntax
influx stacks \
  -o <org-name> \
  --stack-name=<stack-name>

# Example
influx stacks \
  -o example-org \
  --stack-name=stack1 \
  --stack-name=stack2
```

### Filter by stack ID

```sh
# Syntax
influx stacks \
  -o <org-name> \
  --stack-id=<stack-id>

# Example
influx stacks \
  -o example-org \
  --stack-id=12ab34cd56ef \
  --stack-id=78gh910i11jk
```

#### Related

-   [influx stacks](/influxdb/v2/reference/cli/influx/stacks/)
