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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...