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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...