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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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