- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Splunkers,
I am struggling to verify connection status of master node in indexer through VM using linux command.
Does someone know what command can I use to view the connection status between them?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not close. it didnt state which is master or indexer.
well, I just tried this and it looks good.
/opt/splunk/bin/splunk list cluster-config -auth username:password | grep master_uri
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Do you mean
splunk show cluster-status
?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it's not the result that I need
I built indexer cluster with pointing to master node in other vm.
I would like to check through using linux command in indexer VM.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


Hi @HadrianusHon,
here you can find all the commands you need https://docs.splunk.com/Documentation/Splunk/8.2.6/Indexer/UsetheCLI#View_cluster_information
Ciao.
Giuseppe
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the response,
I checked them all and it is still not the command I was looking for.
Perhaps, it is existed.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I'm afraid if you want to check the intra-cluster connectivity the only available command is the "show cluster-status". But indeed it works only on the CM so either run it on CM, on run it from the indexer but call the CM fo the status by using the -uri option.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"on run it from the indexer but call the CM fo the status by using the -uri option."
May you let me know what command it is? I can try .
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

It's still the same "show cluster-status" command but you have to tell it where to look for CM. It implies that you must have network connectivity to the CM from the host you're running the command on of course.
splunk show cluster-status -uri https://your.cm.address:8089/
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not close. it didnt state which is master or indexer.
well, I just tried this and it looks good.
/opt/splunk/bin/splunk list cluster-config -auth username:password | grep master_uri
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

But this doesn't tell you about the _status_ of the connectivity. It tells you about the configuration.
These are two different things.
