influxd-ctl show-shards

The influxd-ctl show-shards command returns information about shards in an InfluxDB Enterprise cluster.

Usage

influxd-ctl show-shards [flags]

Information includes:

  • Shard ID
  • Database
  • Retention Policy
  • Number of desired replicas
  • Shard group
  • Shard start time
  • Shard end time
  • Shard expiration
  • Shard owners

View example output

Show inconsistent shards

You can also use the -m flag to output “inconsistent” shards which are shards that are either in metadata but not on disk or on disk but not in metadata.

Flags

FlagDescription
-eInclude expired shards in the output. By default, expired shards are filtered out. v1.12.3+
-vReturn detailed shard information
-mReturn inconsistent shards

Was this page helpful?

Thank you for your feedback!