Getting Data In

Data in SH

gitingua
Communicator

Hello. I have 3 SH. When I switch the captain to another SH

Data disappears in it. In its normal state, SH has 20 million events. but when he becomes captain. It has a maximum of 400-500 events.  There is no such problem with the other two SH.

What is the problem ? please help me!!

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please tell us more about the problem.  How are you switching the SHC captain?  Why?  How are you looking for data (what is the query)?  Is it always the same instance that has the problem or any instance that happens to be captain?

BTW, normally search heads have no events in them.  All of their data comes from the indexers.

---
If this reply helps you, Karma would be appreciated.
0 Karma

gitingua
Communicator

@richgalloway 

I change either manually, or it changes automatically after the captain reboots. 

No request. when One host becomes the captain, the data stops flowing to him 

the data goes through the indexer, right. But only out of three SH, when he becomes the captain, he stops receiving data from the indexers.  In the normal state, SH receives data from the indexers completely, in total it has 20 million data, but when it becomes the captain, all data stops flowing to it and the total data becomes 400-500.

 

@richgalloway  Thank you !!

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It's still not clear where you're getting this information.

Be aware that the SHC captain typically does not run any scheduled searches.  That will reduce the amount of traffic between the captain and the indexers.

---
If this reply helps you, Karma would be appreciated.
0 Karma

gitingua
Communicator

@richgalloway the captain is not getting the data. and I cannot search because of this. when I take it off the captain it works stably

0 Karma

richgalloway
SplunkTrust
SplunkTrust

"the captain is not getting the data."  You still haven't explained how you've determined this.  What query are you running to find out how much data each SH gets?  Are there any errors in splunkd.log or in the search log?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...