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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...