# Disabling xpack in development env

**URL:** <https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478>\
**Category:** Kibana\
**Created:** [April 25, 2019, 2:02pm UTC](https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478 "2019-04-25T14:02:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ENG618](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eng618/32/59206_2.png) [@ENG618](https://discuss.elastic.co/u/ENG618)\
**Post date:** [April 25, 2019, 2:02pm UTC](https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478/1 "2019-04-25T14:02:47Z")

</div>

I'm building a plugin the runs in an es/kibana oss container. I can't figure out how to completely disable xpack in my development server for accurate testing.

I've tried adding the following to the kibana.yml, but it still seems to be making a call to `api/xpack/v1/info`. Which doesn't get called in the oss images.

```auto
xpack.apm.enabled: false
xpack.graph.enabled: false
xpack.grokdebugger.enabled: false
xpack.ml.enabled: false
xpack.monitoring.enabled: false
xpack.reporting.enabled: false
xpack.searchprofiler.enabled: false
xpack.security.enabled: false
xpack.xpack_main.telemetry.enabled: false

```

Please advise if there is a better way of accomplishing getting my dev environment to a more equivalent state of the kibana oss images.

Currently running v6.5.4

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [April 25, 2019, 3:18pm UTC](https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478/2 "2019-04-25T15:18:36Z")

</div>

Hey @ENG618,

The easiest way is to run Kibana in OSS mode for development is to use  
`node ./scripts/kibana --oss --dev`

---

<div class="post-metadata">

**Author:** ![ENG618](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eng618/32/59206_2.png) [@ENG618](https://discuss.elastic.co/u/ENG618)\
**Post date:** [April 26, 2019, 3:19pm UTC](https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478/3 "2019-04-26T15:19:59Z")

</div>

thanks

For others too was also able to pass this into starting the plugin with the standard plugin helper. i.e. from the plugin dir `yarn start --oss`

---

<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:** [May 24, 2019, 3:20pm UTC](https://discuss.elastic.co/t/disabling-xpack-in-development-env/178478/4 "2019-05-24T15:20:03Z")

</div>

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