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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...