I am creating a custom dashboard only role, and need to configure adding this custom role to the "xpackDashboardMode" setting. Can anyone give me help in how I can do this, I cannot find how to set this from the kibana.yml file


Hi, xpackDashboardMode:roles is not a kibana.yml setting but an "Advanced setting" you can access via the Kibana web UI: https://www.elastic.co/guide/en/kibana/6.3/advanced-dashboard-mode-configuration.html

Just go into the Management App and press "Advanced settings" there.

Thanks, but I need to do this as a startup (docker) process...

also, we're using 7.4, if that makes a difference

The advanced settings are a type of saved object in Kibana, so you can solve this by doing a curl request after Kibana has started: https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html

The type of the config object is config

Thanks, that's awesome...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.