Splunk Search

Error, Parameters must be in the form '-parameter value'

sam1010
Explorer

when I type this command in git bash /opt/splunk/bin/splunk apply shcluster-bundle -target   to get cluster status I keep getting the error    "Error, Parameters must be in the form '-parameter value'". Can someone tell how to resolve this

Labels (1)
0 Karma
1 Solution

manjunathmeti
SplunkTrust
SplunkTrust

hi @sam1010,

To check the cluster status you need to run the below command on any search head member.

/opt/splunk/bin/splunk show shcluster-status

And to apply search head cluster bundle to search head members run below command on deployer server. 

/opt/splunk/bin/splunk apply shcluster-bundle -target https://<any_search _head_member>:8089 -auth admin:<password>

View solution in original post

manjunathmeti
SplunkTrust
SplunkTrust

hi @sam1010,

To check the cluster status you need to run the below command on any search head member.

/opt/splunk/bin/splunk show shcluster-status

And to apply search head cluster bundle to search head members run below command on deployer server. 

/opt/splunk/bin/splunk apply shcluster-bundle -target https://<any_search _head_member>:8089 -auth admin:<password>
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...