Splunk Search

Clustered Indexers

nikhilmehra79
Path Finder

Hi i have two clustered nodes each getting data from various UF (Load balanced), for simplicity i will take example of one UF. The UF is sending data to both indexers but when i locally log in to each indexers and try to go to search - i see if UF has send 15 events 10 went to first Indexer and 5 went to other.....i was thinking since these are cluster pairs they should have synched and each indexer at end should have received 15 events is this not right?

My env:
1. Master Node
2. 2 Indexers
3. 2 search head
4. Replication Factor 2, Search Factor 2

0 Karma

gfuente
Motivator

Hello

The data replication happens in the background, when you query (search) the data, you only get it from "active" buckets, so some data will come from one indexer and the rest from the other one. If one of the indexers goes down, then all the buckets in the remaining indexer will become "active" and all the results will come from that indexer.

In the example you propose, if any indexer returns all the data he got (the original and the replicated) you would get duplicated events, distorting the results...

Regards

nikhilmehra79
Path Finder

So if i understand correctly what you are saying per my example both indexers has 15 events but on First indexer 10 are active (in active bucket) and 5 are passive (hence i do not see them), same goes for indexer B - it has 5 active and 10 passive?

Does this also mean that if i have to see all events i should not be searching them web UI of indexer rather use search head always ??

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...