Back to Influxdb

List

content/shared/influxctl/database/list.md

latest1.0 KB
Original Source

The influxctl database list command lists all databases in an {{% product-name omit=" Clustered" %}} cluster.

The --format flag lets you print the output in other formats. The json format is available for programmatic parsing by other tooling. Default: table.

Usage

sh
influxctl database list [--format=table|json]

Flags

FlagDescription
--filter-statusOnly list databases with a specific status (active (default) or deleted)
--formatOutput format (table (default) or json)
-h--helpOutput command help

{{% caption %}} Also see influxctl global flags. {{% /caption %}}