Here is the fixed version which works on both single instance and multisite cluster with shc. | rest /services/authentication/users splunk_server=*
| search title!=admin
| table title roles
| rename title as user
| rename roles as title
| search user=<YOUR USER ACCOUNT HERE / $env:user$ if run from dashboard>
| mvexpand title
| join type=left max=0 title
[| rest /services/authorization/roles splunk_server=*
| table title srchInd*
| eval indexes=mvappend(srchIndexesAllowed,srchIndexesDefault)
| table title indexes
| mvexpand indexes
| dedup title indexes
| eval indexes_orig=indexes
| join indexes max=0 type=left
[| rest /services/data/indexes splunk_server=*
| stats count by title
| table title
| eval indexes=if(match(title,"^_"),"_*","*")
| rename title as indexes_new]
| eval indexes=if(indexes_orig!=indexes_new,indexes_new, indexes_orig)
| table title indexes
| join indexes max=0 type=inner
[| rest splunk_server=* /services/data/indexes-extended
| fields title frozenTimePeriodInSecs
| rename title as indexes]]
| rename user as Username title as Role indexes as Index
| dedup Index
| eval retentionInDays=frozenTimePeriodInSecs/86400
| table Username Role Index retentionInDays If needed you could try to optimise with those splunk_server parts so that auth+user+role stuff will get from your SH side and indexes from your indexer sides. r. Ismo
... View more