Knowledge Management

list of index

Deepz2612
Explorer

Hi,

How could I find the list of indexes under a particular application.
Is there any query for it

Tags (1)
0 Karma

koshyk
Super Champion

if you need whole list of indexes
| REST /services/data/indexes | table title| dedup title

0 Karma

dmarling
Builder

It depends on what you are looking for. You can get a list of indexes that have a Splunk app on them from the inputs.conf file with the below splunk query. Is that what you are looking for?

| rest splunk_server="local" "services/configs/inputs"
| stats values(index) as indexes by eai:acl.app

If you are looking for all indexes for a particular application that is not a Splunk application, I'm not sure how to find that unfortunately.

If this comment/answer was helpful, please up vote it. Thank you.
0 Karma

Deepz2612
Explorer

Hi I have category for my all applications and would like to know the indexes present in each application

0 Karma

adonio
Ultra Champion

@Deepz2612
Please elaborate, what is the outcome of the search that would satisfy your requirements?
What is the problem you are trying to solve?
@koshyk showed you the way, you can add something like that:
| rest /services/data/indexes | dedup title | table title eai:acl.app

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...