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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...