Manage distributed server names
The name of each search head and search peer is determined by its
serverName attribute, specified in server.conf. The
serverName attribute defaults to the server's machine name.
In distributed search, all search heads and search peers in the group must have unique names. The
serverName has three specific uses in distributed search:
- For authenticating search heads. When search peers are authenticating a search head, they look for the search head's key file in
- For identifying search peers in search queries.
serverNameis the value of the
splunk_serverfield that you specify when you want to query a specific node. See Search across one or more distributed search peers in the Search manual.
- For identifying search peers in search results.
serverNamegets reported back in the
serverName is not used when adding search peers to a search head. In that case, you identify the search peers through their domain names or IP addresses.
The only reason to change
serverName is if you have multiple instances of Splunk Enterprise residing on a single machine, and they're participating in the same distributed search group. In that case, you'll need to change
serverName to distinguish them.
Modify the knowledge bundle
Best practice: Forward search head data to the indexer layer
This documentation applies to the following versions of Splunk® Enterprise: 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.14, 6.0.15, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.1.8, 6.1.9, 6.1.10, 6.1.11, 6.1.12, 6.1.13, 6.1.14