influx stacks command and its subcommands list and manage InfluxDB stacks
and associated resources.
influx stacks [flags] influx stacks [command]
|init||Initialize a stack|
|remove||Remove a stack|
|Flag||Description||Input type||Maps to ?|
|CLI configuration to use for command||string|
|Path to ||string|
|Help for the |
|Hide table headers (default |
|HTTP address of InfluxDB (default ||string|
|Inspect communication with InfluxDB servers.||string|
|Output data as JSON (default |
|Organization name (mutually exclusive with ||string|
|Organization ID (mutually exclusive with ||string|
|Skip TLS certificate verification|
|Stack IDs to filter by||stringArray|
|Stack names to filter by||stringArray|
The examples below assume your InfluxDB host, organization, and token are
provided by the active
influx CLI configuration.
If you do not have a CLI configuration set up, use the appropriate flags to provide these required credentials.
List all stacks
Filter stacks by name
influx stacks \ --stack-name stack1 \ --stack-name stack2
Filter stacks by ID
influx stacks \ --stack-id 0Xx0oox00XXoxxoo1 \ --stack-id 0Xx0oox00XXoxxoo2
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.