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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...