Deployment Architecture

SHC captainの確認方法について

cwl
Contributor

Search Head Clustering (SHC) のバージョン6.5.0を使っていますが、sshを使って、SHCの各ノードにアクセスする権限はないので、"splunk show shcluster-status"コマンドからSHCのcaptainを特定することができず、UIからどのSHCノードがcaptainであるかの確認方法はありますでしょうか。

0 Karma
1 Solution

cwl
Contributor

各ノードのsplunkd.logを検索することにより、SHCのcaptainを特定することができます。
UIから以下のサーチ文を使うことで、captainを特定することができます。

index=_internal sourcetype=splunkd "All hail leader"

例えば、3ノード(sh1, sh2, sh3)のSHCでsh1がcaptainの場合、sh2およびsh3のsplunkd.logには以下のようなメッセージが表示されるはずです。

INFO  SHCRaftConsensus - All hail leader https://sh1:8089 for term 10

View solution in original post

cwl
Contributor

各ノードのsplunkd.logを検索することにより、SHCのcaptainを特定することができます。
UIから以下のサーチ文を使うことで、captainを特定することができます。

index=_internal sourcetype=splunkd "All hail leader"

例えば、3ノード(sh1, sh2, sh3)のSHCでsh1がcaptainの場合、sh2およびsh3のsplunkd.logには以下のようなメッセージが表示されるはずです。

INFO  SHCRaftConsensus - All hail leader https://sh1:8089 for term 10
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...