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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...