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!

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