Deployment Architecture

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

kbecker
Communicator

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

Deployment.conf

[default]

[deployment-client]

disabled = false

deploymentServerUri = SERVER NAME:8090

serverClasses = WANT TO SET THIS VIA CLI

Thanks

Tags (3)

Chris_R_
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

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...