On October 30, 2022, all 1.2.x versions of the Splunk Data Stream Processor will reach its end of support date. See the Splunk Software Support Policy for details.
Cluster configuration options
You can view or change the default configurations of your cluster by using the following commands.
- get-config
- set-config
- remove-config
- list-configs
- get-secret
- set-secret
- remove-secret
- list-secrets
Prerequisites
- You must have system administrator (root) permissions to run DSP installation or cluster management commands. If you do not have these permissions, you can use the
sudo
command.
Steps
To set a new configuration or secret:
- To set a new configuration, type the following from a node.
./set-config <PROPERTY_NAME> <VALUE>
- To set a new secret, type the following from a node.
./set-secret <SECRET_NAME>
- Deploy the changes.
./deploy
To remove a configuration or secret:
- To remove a configuration, type the following from a node.
./remove-config <PROPERTY_NAME> <VALUE>
- To remove a secret, type the following from a node.
./remove-secret <SECRET_NAME>
- Deploy the changes.
./deploy
To view existing cluster configurations:
- From a node, type the following to see the list of configurations, including values.
./list-configs
- From a node, type the following to see the list of secret keys.
./list-secrets
To view individual configurations or secrets:
- From a node, type the following to see an individual non-secret configuration property.
./get-config <PROPERTY_NAME>
- From a node, type the following to see an individual secret.
./get-secret <SECRET_NAME>
Get started with the Splunk Cloud Services CLI | Configure connections to external services |
This documentation applies to the following versions of Splunk® Data Stream Processor: 1.1.0, 1.2.0, 1.2.1-patch02, 1.2.1, 1.2.2-patch02, 1.2.4, 1.2.5, 1.3.0, 1.3.1
Feedback submitted, thanks!