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!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...