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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...