Getting Data In

Is there possibility to find index name for the host included?

JGP
Explorer

Is there any possibility to find the index name mapped to the host from any search query(internal index), reason behind this we have 200+ forwarder which needs to be upgraded for this we have to inform the application team to get it upgraded. 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @JGP,

if you need the list of each index containing logs from an host, you could run something like this:

| metasearch index=*
| stats values(index) AS index count BY host

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

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

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...