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
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>
Get Updates on the Splunk Community!

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

&#x1f48c; Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Incident Response: Reduce Incident Recurrence with Automated Ticket Creation

Culture extends beyond work experience and coffee roast preferences on software engineering teams. Team ...