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!

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