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

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...