Deployment Architecture

Can a forwarder be added to the serverclass.conf file using the CLI / command line?

mark_cet
Path Finder

Hi,

I am looking for a way to add some forwarders / clients to a server class (serverclass.conf) by using the CLI / command line.

Is this possible?

Thanks in advance.

0 Karma
1 Solution

FrankVl
Ultra Champion

Not that I'm aware of. Documentation also doesn't mention it: https://docs.splunk.com/Documentation/Splunk/latest/Updating/Definedeploymentclasses
It is either by editing the serverclass.conf file or through the Forwarder Management UI.

Of course you can always create some kind of script to modify the serverclass.conf from the command line interface of your Deployment Server's Operating System. But there don't seem to be Splunk CLI commands to perform serverclass management actions.

View solution in original post

0 Karma

FrankVl
Ultra Champion

Not that I'm aware of. Documentation also doesn't mention it: https://docs.splunk.com/Documentation/Splunk/latest/Updating/Definedeploymentclasses
It is either by editing the serverclass.conf file or through the Forwarder Management UI.

Of course you can always create some kind of script to modify the serverclass.conf from the command line interface of your Deployment Server's Operating System. But there don't seem to be Splunk CLI commands to perform serverclass management actions.

0 Karma

mark_cet
Path Finder

Thanks for confirming!

0 Karma
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 ...