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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...