sts
and make it executable:sts.exe
.bin
folder to your PATH to use StackState CLI commands from anywhere on the command line.sts
command, the StackState CLI will look for a configuration file. If no valid configuration file is found, the wizard will guide you through creating one and store it under the user's home directory.sts-cli-VERSION.zip
from https://download.stackstate.com. If you ran the Docker install, skip this step and use the ZIP archive you already downloaded.conf.d/conf.example.yaml
from the ZIP archive and put it in one of the following directories:conf.d/
- relative to the directory where the CLI is run.conf.d/
- relative to the directory where the CLI is run.~/.stackstate/cli/
- relative to the user's home directory.%APPDATA%/StackState/cli/
- relative to the user's home directory.conf.yaml
.base_api
API has support for API Tokens. You can copy your private API Token from the "User Profile" page on the UI of StackState.conf.yaml
configuration file can hold multiple configurations. Other StackState instances can be added on the same level as the default configuration. For example:sts graph export
and sts graph import
commands to export and import different types of configuration nodes from and to StackState. Nodes are stored in StackState Templated Json format.-p
w
, days d
, hours h
, minutes m
and/or seconds s
. For example: -p 4w2d6h30m15s
-b
-b 100-250
--linear
and --baseline
.--linear
-b
plotted over the time given for -p
--baseline
-b
and -p
--csv
timestamp,value
sts evens send <eventName>
It will send one event with the given name.usage.md
in the CLI zip archive for detailed instructions.anomaly
command used to send anomaly data for a metric stream of a component.--duration
--severity
--severity-score
--description
sts script
to execute a script via standard input. For example: