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

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...