Installation

Can I script add new deployment clients to a Server Class?

eburnett
Engager

So when we build a new server and install the Splunk forwarder on the server.

Is there a way to script to add that new deployment client to a Server Class?

Labels (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @eburnett,

why don't you try a different approach: instead to list all the hostnames of clients of a ServerClass, try to use a generic definition in whitelist?

e.g.: if you want in a ServerClass all the windows servers except Domain Controllers, you could put:

  • * in whitelist,
  • windows X64 in type,
  • domain1, domain2, domain3 in blacklist

in this way adding a new server windows, automatically it will be inserted in that ServerClass.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

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

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...