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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...