# Production Mode vs Development Mode in Kibana

**URL:** <https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078>\
**Category:** Kibana\
**Created:** [June 28, 2017, 10:09am UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078 "2017-06-28T10:09:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrabakarKaruppasamy](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@PrabakarKaruppasamy](https://discuss.elastic.co/u/PrabakarKaruppasamy)\
**Post date:** [June 28, 2017, 10:09am UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078/1 "2017-06-28T10:09:01Z")

</div>

Hi All,

How can we ensure the Kibana is runing in Prod Mode or Dev Mode., or what is the difference between dev mode or prod mode in Kibana.

Same thing I got info for elastic search in [Production Mode vs Development Mode in Elastic & Kibana](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-elastic-kibana/91074/6)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [June 28, 2017, 12:41pm UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078/2 "2017-06-28T12:41:42Z")

</div>

Hello,  
In order to run kibana in dev mode, you need to specify the `--dev` flag to the Kibana CLI while running it.  
You can tell Kibana is running in dev mode if you have the `kibana.dev.yml` file present.  
There are potential problems when running Kibana in dev mode, as it's noted in the Contributing guide ( [https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md) ) :

> In development mode, Kibana runs a customized version of Webpack with some optimizations enabled to make building the browser bundles as fast as possible. These optimizations make the build process about 2x as fast for initial builds, and about 7x faster for rebuilds, but are labeled "unsafe" by Webpack because they can sometimes cause changes to go unnoticed by the compiler.

---

<div class="post-metadata">

**Author:** ![PrabakarKaruppasamy](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@PrabakarKaruppasamy](https://discuss.elastic.co/u/PrabakarKaruppasamy)\
**Post date:** [July 4, 2017, 1:04pm UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078/3 "2017-07-04T13:04:39Z")

</div>

Hello,  
The default running mode of Kibana is Prod. is it correct?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [July 4, 2017, 2:43pm UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078/4 "2017-07-04T14:43:22Z")

</div>

Yes, that is the default mode for Kibana.

---

<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:** [August 1, 2017, 2:43pm UTC](https://discuss.elastic.co/t/production-mode-vs-development-mode-in-kibana/91078/5 "2017-08-01T14:43:35Z")

</div>

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