Splunk Search

How can i search what all indexes are into splunk ESS app?

rajksplunk
New Member

please let me know via CLI or Splunkweb.?

Tags (1)
0 Karma

esix_splunk
Splunk Employee
Splunk Employee

You can also use btool

./splunk btool indexes --debug

That will show the full path of the indexes.conf applied and the app it's applied from. You can pipe that to grep and search for EnterpriseSecuruty. Additionally if you're on the latest version of ES, and in a distributed environment, you can use the GUI to created the TA forindexers. Open this up and you can see the configs for indexers.

0 Karma

somesoni2
Revered Legend

How about the documentation?
http://docs.splunk.com/Documentation/ES/4.2.0/Install/Indexes#Indexes_by_app

YOu can use the following search as well (need to provide the app name)

| rest /services/data/indexes splunk_server=local | search eai:acl.app="App Name Here" | table title

rajksplunk
New Member

Thanks ! somesoni2 for responding but i found no results when i triggered search that you provided.
could help me out if any alternate ?
i can see all indexes bu using"| rest /services/data/indexes splunk_server=local |but when i tried for specific app then No Results found

0 Karma

somesoni2
Revered Legend

Check the field name in the | search (should be correct only but double check) and the app name (need the app folder name ).

OR may be just run this and check the app name.

| rest /services/data/indexes splunk_server=local  | table title eai:acl.app
0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...