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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...