influx stacks init
influx stacks init command initializes an InfluxDB stack.
influx stacks init [flags]
|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|
|Template URLs to associate with a stack||list of strings|
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.
Initialize a stack with a name and description
influx stack init -n "Example Stack" -d "InfluxDB stack for monitoring some awesome stuff"
Initialize a stack with a name and URLs to associate with the stack
influx stack init -n "Example Stack" -u https://example.com/template-1.yml
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.