SPLK-3003 · Question #43
Which command is most efficient in finding the pass4SymmKey of an index cluster?
The correct answer is C. $SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey. btool is Splunk's native configuration inspection tool that reads and merges all configuration layers (default, local, apps) to show the effective value - making it the right tool for retrieving the pass4SymmKey from the [clustering] stanza of server.conf. The syntax btool…
Question
Which command is most efficient in finding the pass4SymmKey of an index cluster?
Options
- Afind / -name server.conf ""print | grep pass4SymKey
- B$SPLUNK_HOME/bin/splunk search | rest splunk_server=local /servicesNS/-
- C$SPLUNK_HOME/bin/splunk btool server list clustering | grep pass4SymmKey
- D$SPLUNK_HOME/bin/splunk btool clustering list clustering --debug | grep pass4SymmKey
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C90% (19)
Explanation
btool is Splunk's native configuration inspection tool that reads and merges all configuration layers (default, local, apps) to show the effective value - making it the right tool for retrieving the pass4SymmKey from the [clustering] stanza of server.conf. The syntax btool server list clustering correctly references the conf file name (server) and the stanza (clustering), then pipes to grep to isolate the key.
Why the distractors fail:
- A is a raw OS
findcommand - slow, filesystem-wide, has a syntax error (""printvs-print), and even misspells the key (pass4SymKeymissing the secondm). - B uses the REST API via the search interface, but the command syntax is broken and incomplete - it won't return clustering stanza values cleanly.
- D looks close but has the conf file name wrong: it says
btool clustering(looking for a nonexistentclustering.conf) instead ofbtool server. The--debugflag adds file-path metadata but doesn't fix the core error.
Memory tip: Think of btool as "config truth" - its syntax is always btool [conf-file] list [stanza]. Since clustering lives in server.conf, you need btool server list clustering, not btool clustering.
Topics
Community Discussion
No community discussion yet for this question.