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!

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...