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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...