1:先创建一个role: salesuser:选择一个index: in_rong:
创建好以后,在系统里看一下配置:
[root@sb01 beijing]# cat /opt/splunk/etc/system/local/authorize.conf
[role_salesuser]
apps_backup = enabled
apps_restore = enabled
cumulativeRTSrchJobsQuota = 0
cumulativeSrchJobsQuota = 0
importRoles = power;user
srchFilter = index=in_rong
srchIndexesAllowed = in_rong
srchIndexesDefault = in_rong
srchMaxTime = 8640000
2:下面创建一个user: rong, 然后把这个role 赋给这个user, 然后进行