Getting Data In

How can the forwarder detect available indexers?

ddrillic
Ultra Champion

We hard-code the indexers in the outputs.conf at the moment. How can we detect the indexers automatically by the forwarder and avoid the hard-coding ?

0 Karma
1 Solution

rphillips_splk
Splunk Employee
Splunk Employee

By using indexer discovery the forwarder can detect indexers. This of course requires that your indexers are setup in an indexer cluster. The forwarders would contact the indexer cluster master to receive the peer list from the CM so adding new indexers to the cluster doesn't require editing outputs.conf anymore on your forwarders:

http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/indexerdiscovery

View solution in original post

0 Karma

rphillips_splk
Splunk Employee
Splunk Employee

By using indexer discovery the forwarder can detect indexers. This of course requires that your indexers are setup in an indexer cluster. The forwarders would contact the indexer cluster master to receive the peer list from the CM so adding new indexers to the cluster doesn't require editing outputs.conf anymore on your forwarders:

http://docs.splunk.com/Documentation/Splunk/7.0.0/Indexer/indexerdiscovery

0 Karma

ddrillic
Ultra Champion

Much appreciated @rphillips!

0 Karma
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!

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...