We have different groups in our company. Each group gets an app, say acme_search. There are roles associated with the app, for example acme_user. This role is then mapped to an LDAP group. One of the template files included with the base app install is acme_search/default/user-prefs.conf which contains:
[role_acme_user]
default_namespace = acme_search
I've noticed just recently that all users are being sent to the search app by default. I swear this used to work as expected. This really sucks because newbs start creating artifacts, reports, alerts, dashboards, etc in search instead of their "Acme" app. And untangling that mess is not trivial. Not to mention the confusion it sows in the user base.
It appears that the (relatively new?) default app user-prefs is overriding my per app config file. In a standalone SH env, if I put that stanza into user-prefs/local/user-prefs.conf it works. Doing that in an SHC env is tricky/hacky/gross. I presume it would work in system/local as well, while also presenting SHC problems. More to the point, I need it to be bundled with the app. Trying to manage a common user-prefs.conf file for 400+ different roles is not something I want to tackle.
FWIW, btool shows good, but this setting has no impact on actual use.
> splunk btool user-prefs list role_acme
[role_acme_user]
default_namespace = acme_search
Am I missing something? Any workarounds?
Linux
Splunk 6.5.1 (tested on 6.5.2 as well)
SHC and indexer cluster
Thanks,
jon
... View more