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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...