Spaces settings in Kibanaedit

By default, spaces is enabled in Kibana. To secure spaces, enable security.

[7.16.0] Deprecated in 7.16.0. In 8.0 and later, this setting will no longer be supported and it will not be possible to disable this plugin. To enable spaces, set to true. The default is true.
The maximum number of spaces that you can use with the Kibana instance. Some Kibana operations return all spaces using a single _search from Elasticsearch, so you must configure this setting lower than the index.max_result_window in Elasticsearch. The default is 1000.
monitoring.cluster_alerts.allowedSpaces logo cloud
Specifies the spaces where cluster alerts are automatically generated. You must specify all spaces where you want to generate alerts, including the default space. When the default space is unspecified, Kibana is unable to generate an alert for the default space. Elasticsearch clusters that run on Elasticsearch services are all containers. To send monitoring data from your self-managed Elasticsearch installation to Elasticsearch services, set to false. The default is true.