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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...