Monitoring Splunk

Does someone know how to check connection at indexer (VM) while deploying indexing cluster in linux command?

HadrianusHon
Explorer

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?

Labels (1)
0 Karma
1 Solution

HadrianusHon
Explorer

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

 

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Do you mean

splunk show cluster-status

?

0 Karma

HadrianusHon
Explorer

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.

0 Karma

gcusello
SplunkTrust
SplunkTrust
0 Karma

HadrianusHon
Explorer

Thank you for the response,

I checked them all and it is still not the command I was looking for.

Perhaps, it is existed.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

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.

0 Karma

HadrianusHon
Explorer

"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 .

0 Karma

PickleRick
SplunkTrust
SplunkTrust

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/

 

0 Karma

HadrianusHon
Explorer

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

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

But this doesn't tell you about the _status_ of the connectivity. It tells you about the configuration.

These are two different things.

0 Karma
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...