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
Ultra Champion

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

 

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!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...