Getting Data In

How to restrict role by sourcetype within an index?

sm600
Explorer

Good afternoon,

We are using Splunk 6.1x

We have 1 index "wls_app" and 300+ sourcetypes within that index. Nice, eh? Each sourcetype is really tied to an LDAP group (we at least named them the same). Two things I thought I had to do:

  1. Create a new role: In the search head, under Settings, Access control, Roles - NEW, fill out the form. But...the bottom of the form only allows me to restrict by Index.

  2. Map the role to an Index: Access Controls - authentication method - LDAP strategies - LDAP Groups, and select one of the 300, Splunk provides me a list of Indexes to choose from.

Since the GUI seems to be Index to Role to LDAP group, How can I map a role to a sourcetype?

Thanks,

Steve

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

The best way to restrict access is indeed per index, as you've discovered already.
Beyond that you can set a search filter for each role that forces additional terms onto each search run by a user in that role: http://docs.splunk.com/Documentation/Splunk/6.2.4/Security/Addandeditroleswithauthorizeconf#Search_f...

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...