Splunk Search

set up load balancing on indexer clustering

ehsan_it
New Member

Hi everyone.
I configured indexer clustering that include one master and 2 peers and the top of them we have a single search head
I created a index then deploy it to the indexers via master,also i added a udp input data on one of indexers
if main indexer comes down,we loss the data on index.
so we don't have any load balancing method can i configure LB for this environment without any forwarders?
please help me

BR,

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @ehsan_it,
you should use a Load Balancer, if you have to distribute load between Indexers and manage fail over.
If you haven't a Load Banancer, you can configure your DNS to do this role: in other words, you should associate to one logical address (e.g. splunk_syslogs) the two IP addresses of Indexers, in this way, DNS can distribute load between both the Indexers in normal conditions and send them to the up Indexer when there are problems on the other.

On additional hint: if you can it should be better to separate syslogs receiving phase from indexing phase, pratically to use two Heavy Forwarders to receive syslogs insteda Indexers (always with a Load Balancer), and then they send logs to the Indexers that index them.
Why this: because Heavy Forwarders have less maintenance activities than Indexers so you lose less syslogs.

Ciao and Merry Christmas.
Giuseppe

0 Karma

martin_mueller
SplunkTrust
SplunkTrust
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...