Getting Data In

Forwarding FROM an INDEXER to another INDEXER

aferone
Builder

Hello,

In working with Splunk on an H.A. solution, we came up with the following. We would take all events into one indexer (A), then (A) would forward all of its events into indexer (B). We didn't want logs load balanced between both indexers, so we went with this setup.

I attempted to configure this by setting up receiving on (B) and configure forwarding on (A). However, when I do this, it looks like all data stops being collected on (A), and (B) never receives anything. I configured (A) to keep a copy of all logs to be forwarded, and I created a couple of the same indexes on (B) to test and make sure this would work.

Any help would be greatly appreciated, and thanks!

Alex

1 Solution

dshpritz
SplunkTrust
SplunkTrust

Hey Alex,

Make sure that you configure indexAndForward to "true" in the [tcpout] section of your outputs.conf on the first one seeing the data. This way the first indexer will index the data, and then forward it on to its HA partner.

Dave

View solution in original post

dshpritz
SplunkTrust
SplunkTrust

Hey Alex,

Make sure that you configure indexAndForward to "true" in the [tcpout] section of your outputs.conf on the first one seeing the data. This way the first indexer will index the data, and then forward it on to its HA partner.

Dave

aferone
Builder

I had this set, but for some reason, I tried it again, and now it works! Thanks!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...