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!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...