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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...