Deployment Architecture

Is there anyway to update the serverclass.conf automatically ?

chskm
Path Finder

We are using 6.2.1. Is there anyway to update the serverclass.conf automatically?

Example: If any host got decommissioned, it needs to delete from serverclass.conf (automatically update). And if any new host is added, automatically it needs to add in serverclass.conf.

So, that the manual intervention will get reduce. Please suggest.

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi chskm,
it's possible to automatically insert a server in a serverclass only if you choose as a filter:

  • a technology (e.g. Windows),
  • an IP range in whitelist (10.10.10.*),
  • an hostname with * (myhost*).

It isn't possible to automatically remove an host.

Bye.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi chskm,
it's possible to automatically insert a server in a serverclass only if you choose as a filter:

  • a technology (e.g. Windows),
  • an IP range in whitelist (10.10.10.*),
  • an hostname with * (myhost*).

It isn't possible to automatically remove an host.

Bye.
Giuseppe

chskm
Path Finder

Thanks for the reply cusello.

We can remove hosts automatically, by creating some automation scripts. But, according to my knowledge it is tough to add a server by identifying it automatically.

Please advise how to implement that.

0 Karma

gcusello
SplunkTrust
SplunkTrust

It depends by your apps: if you can create a serverclass, for example, with all the windows machines or an hostname (myserver*), you can automatically add a server to it, probably the only way is a script also for adding a server.
Bye.
giuseppe

0 Karma

chskm
Path Finder

Thanks cusello

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...