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!

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 ...