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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...