# Documented options to disable xpack plugins in kibana not working as expected and cause container fail to start

**URL:** <https://discuss.elastic.co/t/documented-options-to-disable-xpack-plugins-in-kibana-not-working-as-expected-and-cause-container-fail-to-start/344529>\
**Category:** Kibana\
**Created:** [October 6, 2023, 9:57am UTC](https://discuss.elastic.co/t/documented-options-to-disable-xpack-plugins-in-kibana-not-working-as-expected-and-cause-container-fail-to-start/344529 "2023-10-06T09:57:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hakakuma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hakakuma/32/124212_2.png) [@hakakuma](https://discuss.elastic.co/u/hakakuma)\
**Post date:** [October 6, 2023, 9:57am UTC](https://discuss.elastic.co/t/documented-options-to-disable-xpack-plugins-in-kibana-not-working-as-expected-and-cause-container-fail-to-start/344529/1 "2023-10-06T09:57:30Z")

</div>

We are trying kibana 8.9.0 container as a standalone server for the first time and we are trying to disable certain xpack packages using kibana.yml

We wanted to disable the below plugins and we are following elastic documentation but still they dont seem to work and fail.

1. machine learning
2. maps
3. actions

we tried to disable them by adding below settings in kibana.yml and when we add them container fails to start with the error mentioned below

1. xpack.ml.enabled: false  
FATAL Error: No validation schema has been defined for [xpack.ml]

2. #xpack.maps.enabled: false  
FATAL Error: [config validation of [xpack.maps].enabled]: definition for this key is missing

3. xpack.actions.enabled: false  
FATAL Error: [config validation of [xpack.actions].enabled]: definition for this key is missing

Are these configuration as documented in kibana documentation valid or they are no longer supported?

Kindly suggest.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 6, 2023, 3:55pm UTC](https://discuss.elastic.co/t/documented-options-to-disable-xpack-plugins-in-kibana-not-working-as-expected-and-cause-container-fail-to-start/344529/2 "2023-10-06T15:55:24Z")

</div>

Hi @hakakuma

These are deprecated and removed in 8.X  
`xpack.actions.enabled: false`  
`xpack.ml.enabled: false`

 ![Screenshot 2023-10-06 at 8.46.25 AM](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0a673e76503efda1ef697b6774349ceea6132e11.png)

 ![Screenshot 2023-10-06 at 8.45.31 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7b113282b129335c5f5325e76b2365f6e646320a.png)

Where did you see this?  
`xpack.maps.enabled`  
I can not find it. But found a post it was removed / deprecated as well as far as I understand

In 8.x You do this another way see [Here](https://www.elastic.co/guide/en/kibana/8.10/xpack-spaces.html)

a) You Modify a Space and De-select those Items you do not want to show.  
b) Assign User / Roles to that Space

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 3, 2023, 3:56pm UTC](https://discuss.elastic.co/t/documented-options-to-disable-xpack-plugins-in-kibana-not-working-as-expected-and-cause-container-fail-to-start/344529/3 "2023-11-03T15:56:07Z")

</div>

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