Deployment Architecture

Is search head clustering information stored in any configuration file?

danielwan
Explorer

I am planning to use configuration management tool like Chef to manage my search head cluster.
I knew I can use splunk CLI in https://docs.splunk.com/Documentation/Splunk/7.0.1/DistSearch/ViewSHCstatus to get the search head cluster information like all members and captain, but it's not so convenient for Chef to configure.

Does Splunk store the related information into some configuration file?

0 Karma
1 Solution

sroback_splunk
Splunk Employee
Splunk Employee

sroback_splunk
Splunk Employee
Splunk Employee

Hi. Yes, the search head cluster configuration is stored under the [shclustering] stanza in server.conf. For more info, see these docs:

http://docs.splunk.com/Documentation/Splunk/7.0.1/admin/Serverconf#search_head_clustering_configurat...
https://docs.splunk.com/Documentation/Splunk/7.0.1/DistSearch/SHCconfigurationoverview

danielwan
Explorer

I have checked out server.conf, it apparently does not have any search head cluster member information. Does it mean I have to run splunk CLI to add/remove/list cluster members?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...