---
title: influxd inspect report-tsi
description: The influxd inspect report-tsi command analyzes Time Series Index (TSI) files in a storage directory and reports the cardinality of data stored in the files.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/report-tsi/
estimated_tokens: 590
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/cli/influxd/inspect/report-tsi/
date: '2023-11-06T15:53:12-07:00'
lastmod: '2023-11-06T15:53:12-07:00'
---

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).

The `influxd inspect report-tsi` command analyzes Time Series Index (TSI) within
a specified bucket and reports the cardinality of data stored in the bucket
segmented by shard and measurement.

## Usage

```sh
influxd inspect report-tsi [flags]
```

## Flags

|Flag|               |                                        Description                                         |Input Type|
|----|---------------|--------------------------------------------------------------------------------------------|----------|
|`-b`| `--bucket-id` |                      (Required) Process data for specified bucket ID.                      |  string  |
|`-c`|`--concurrency`|Number of workers to run concurrently (default is the number of available processing units).| integer  |
|    | `--data-path` |               Path to data directory (default `~/.influxdbv2/engine/data`).                |  string  |
|`-h`|   `--help`    |                          View Help for the `report-tsi` command.                           |          |
|`-t`|    `-top`     |                                Limit results to the top n.                                 | integer  |

[tsi](/influxdb/v2/tags/tsi/)[cardinality](/influxdb/v2/tags/cardinality/)[inspect](/influxdb/v2/tags/inspect/)
| Flag |  | Description | Input Type |
| --- | --- | --- | --- |
| Flag |  | Description | Input Type |
| -b | --bucket-id | ( Required ) Process data for specified bucket ID. | string |
| -c | --concurrency | Number of workers to run concurrently (default is the number of available processing units). | integer |
|  | --data-path | Path to data directory (default  ~/.influxdbv2/engine/data ). | string |
| -h | --help | View Help for the  report-tsi  command. |  |
| -t | -top | Limit results to the top n. | integer |
