Deployment Architecture

Is there a CLI command to set serverClasses in deployment.conf


Is there a CLI command that will set serverClasses in the deployment.conf file. Using Splunk forwarder version 3.4.11.




disabled = false

deploymentServerUri = SERVER NAME:8090

serverClasses = WANT TO SET THIS VIA CLI


Tags (3)

Splunk Employee
Splunk Employee

Unfortunately you cannot specify a serverclass via CLI right now, this is typically done at deployment server setup time or when you have a new class of apps you need to deploy.
Serverclass specification is set on the deployment server serverclass.conf. So not very often for most customers.
You can reload a class once it's in your serverclass.conf however.

./splunk reload deploy-server -class wwwclass