View InfluxDB stacks
This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.
Use the influx stacks command to view installed InfluxDB stacks and their associated resources.
Provide the following:
- Organization name or ID
# 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
# 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
# Syntax
influx stacks \
-o <org-name> \
--stack-id=<stack-id>
# Example
influx stacks \
-o example-org \
--stack-id=12ab34cd56ef \
--stack-id=78gh910i11jk
Related
当前内容版权归 jasper-zhang 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 jasper-zhang .