Security

Is there an easy way to tell what role a Splunk server is?

Quantum
Explorer

Is there an easy way to tell what role a Splunk server is?

Labels (1)
0 Karma

SinghK
Builder

Quantum, 

It will be great if you can accept one of the replies as answer.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Quantum ..

You can use this command:

| rest /services/server/info | table host host_fqdn server_roles 

 

Please check this Splunk document: 

https://docs.splunk.com/Documentation/Splunk/8.0.1/InheritedDeployment/Confdiscovery

Component_discovery_new

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

isoutamo
SplunkTrust
SplunkTrust

Hi

one way to get some hints for its role is use REST API. For local server you can try 

| rest /services/server/roles splunk_server=local
| fields splunk_server role_list

Of course this expecting that those servers are added as a search peers to that node. You can add only one splunk_server only  on command arguments, but you could use wildcards.

Another way is use curl on command line to access remote to those servers.

r. Ismo 

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...