Turning on Splunk platform role-based field filtering
By default, role-based field filtering is turned off. Before you can use role-based field filters to protect sensitive data in your organization, you must turn on role-based field filtering.
Splunk Cloud Platform
To turn on role-based field filtering in your environment, request help from Splunk Support. If you have a support contract, file a new case using the Splunk Support Portal at Support and Services. Otherwise, contact Splunk Customer Support.
Splunk Enterprise
To turn on role-based field filtering in your environment, follow these steps.
- Have the permissions to edit configuration files. Only users with file system access, such as system administrators, can edit configuration files.
- Know how to edit configuration files. Review the steps in How to edit a configuration file in the Splunk Enterprise Admin Manual.
- Decide which directory to store configuration file changes in. There can be configuration files with the same name in your default, local, and app directories. See Where you can place (or find) your modified configuration files in the Splunk Enterprise Admin Manual.
Steps
- Open or create a local limits.conf file at $SPLUNK_HOME/etc/system/local.
- In the
[search]
stanza, add the linerole_based_field_filtering=true
. To use field filtering in clustered environments, the limits.conf file that is pushed to all search heads and indexers must includerole_based_field_filtering=true
in the[search]
stanza. - Restart the Splunk platform, so the change to the limits.conf file takes effect.