Monitoring Splunk

List of

wrbeleli
New Member

Hey guys,

 

 

Labels (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @wrbeleli,

You can use below sample search;

| rest /services/data/indexes 
| search NOT title=_* 
| table title 
| search NOT 
    [| rest /services/authorization/roles 
    | where NOT match(srchIndexesAllowed,"\*+") 
    | rename srchIndexesAllowed as title 
    | dedup title 
    | fields title ]
If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Usually, the easiest way to get info about splunk config items is with | rest command.

In this case you're interested in https://docs.splunk.com/Documentation/Splunk/8.2.2/RESTREF/RESTintrospect#data.2Findexes endpoint.

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...