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
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

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

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...