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!

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!

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