This documentation does not apply to the most recent version of Splunk.
This documentation applies to the following versions of Splunk: 3.0 , 3.0.1 , 3.0.2 , 3.1 , 3.1.1 , 3.1.2 , 3.1.3 , 3.1.4
You can also enable distributed search via Splunk's CLI.
To use Splunk's CLI, navigate to the $SPLUNK_HOME/bin/ directory and use the ./splunk command. You can also add Splunk to your path and use the splunk command.
splunk enable dist-search -auth admin:changeme Distributed search enabled. You need to restart the Splunk Server for your changes to take effect.
splunk enable discoverable -auth admin:changeme Discoverable mode is now enabled. You need to restart the Splunk Server for your changes to take effect.
splunk add search-server -host 10.10.10.10 -port 8888 -auth admin:changeme Success. You need to restart the Splunk Server for your changes to take effect.