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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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