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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...