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.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...