Getting Data In

How to edit my outputs.conf to distribute data between different indexers?

himynamesdave
Contributor

I have 3 indexers (A, B, C)

A and B are in one zone, C in another zone.

From my forwarders I want to load balance data to indexers A + B (50% data to A / 50% to B). I also want to send 100% of my data to indexer C. Essentially creating 2 copies of my data (1 split between A+B, 1 on C)

My outputs.conf currently accounts for A+B use case (below), how would I add in C to the stanza?

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server=A:9997,B:9997
0 Karma
1 Solution

maraman_splunk
Splunk Employee
Splunk Employee

Hello, that should do the cloning

[tcpout]
     defaultGroup = default-autolb-group,clone-group

 [tcpout:default-autolb-group]
    server=A:9997,B:9997

[tcpout:clone-group]
  server=C:9997

View solution in original post

maraman_splunk
Splunk Employee
Splunk Employee

Hello, that should do the cloning

[tcpout]
     defaultGroup = default-autolb-group,clone-group

 [tcpout:default-autolb-group]
    server=A:9997,B:9997

[tcpout:clone-group]
  server=C:9997
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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...