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!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...