Spaces settings in Kibana

By default, Spaces is enabled in Kibana, and you can secure Spaces using roles when Security is enabled.

Spaces settings

xpack.spaces.enabled
Set to true (default) to enable Spaces in Kibana.
xpack.spaces.maxSpaces
The maximum amount of Spaces that can be used with this instance of Kibana. Some operations in Kibana return all spaces using a single _search from Elasticsearch, so this must be set lower than the index.max_result_window in Elasticsearch. Defaults to 1000.