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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...