Deployment Architecture

Get entity list of just splunk infrastructure servers

brent_weaver
Builder

I would like to know the query I can use to get JUST the splunk infra servers, and not the UF's. I want to use this in iTSI for entities. Thanks!

Tags (1)
0 Karma

harsmarvania57
Ultra Champion

Hi,

If all of your Splunk Enterprise Servers sending data to Indexers then you can use below query to find out Splunk Enterprise Servers

index=_internal source=/opt/splunk/var/log/splunk/metrics.log* group=tcpin_connections fwdType=full | dedup hostname | table hostname os arch version sourceIp destPort fwdType ssl

brent_weaver
Builder

Hey there, THANK YOU for taking the time to respond, but I was not clear in asking. I am just looking for the servers that make up my splunk infra, like the indexers, the search heads and the HWF's. I do see your point fwdType=full, is that the special sauce to make this work?

0 Karma

harsmarvania57
Ultra Champion

fwdType=full will provide you list of Splunk Enterprise Servers only but you will able not get type of servers whether it is Search Head, Indexers or Heavy Forwarders. Maybe you can use static lookup and map server with that lookup file for functionality of the server.

0 Karma
Get Updates on the Splunk Community!

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 ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...