Getting Data In

How to get a list of all indexers and their IPs in my Enterprise environment

SamHTexas
Builder

How do I get a complete list of all indexers in my Splunk Enterprise environment?

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The Inherited Deployment manual offers some suggestions.  See https://docs.splunk.com/Documentation/Splunk/8.1.2/InheritedDeployment/MCdiscovery

There's no one perfect method for all environments.  If you're lucky, the Monitoring Console is up-to-date and you can just look there.

If you're less fortunate, you can get many indexer names using SPL.

| tstats count where index=* by splunk_server | fields - count

The latter method most likely will yield only server names.  You'll then need to use a method appropriate for your environment to map them to IP addresses.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The Inherited Deployment manual offers some suggestions.  See https://docs.splunk.com/Documentation/Splunk/8.1.2/InheritedDeployment/MCdiscovery

There's no one perfect method for all environments.  If you're lucky, the Monitoring Console is up-to-date and you can just look there.

If you're less fortunate, you can get many indexer names using SPL.

| tstats count where index=* by splunk_server | fields - count

The latter method most likely will yield only server names.  You'll then need to use a method appropriate for your environment to map them to IP addresses.

---
If this reply helps you, Karma would be appreciated.
0 Karma

SamHTexas
Builder

Thank u very much as usual. I salute your dedication to this profession. Stay safe & blessed.

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...