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

0 Karma
1 Solution

manjunathmeti
Champion

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
Champion

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>
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...