Splunk Search

Is it possible to specify a regular expression for srchIndexesAllowed srchIndexesDefault in the role definition?

evgenyv
Explorer

Is it possible to specify a pattern or regular expression for allowed and default indexes in the role definition?

[role_my_role]
importRoles = user
rtsearch = enabled
srchIndexesAllowed = *_my_*;_*
srchIndexesDefault = *_my_*

Thanks

Tags (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Wildcards are allowed, but not regular expressions. See http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Authorizeconf

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...