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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...