Production Mode vs Development Mode in Elastic & Kibana

Hi All,

What is the difference between the elastic search & Kibana in dev mode and Prod mode or how we can identify the server is running in Prod mode or Dev Mode.

According to the docs https://www.elastic.co/guide/en/elasticsearch/reference/5.x/bootstrap-checks.html., am not getting pretty clear.

1 Like

As described on that page, the difference between dev and production mode is that in dev mode we warn about important system, JVM and Elasticsearch settings that are not configured correctly for production usage, while in production mode we will error on these checks when the node starts and refuse to start the node.

The distinction between whether a node is consider to be in dev or production mode is down to whether the transport host is bound to localhost. If network.host (or transport.host) is set to a localhost address we consider the node to be in development mode. If its set to a non-localhost address we consider the node to be in production mode.

1 Like

How can we ensure the server is running on Prod Mode or Dev Mode? Is there any command or via Kibana.

1 Like

As I said above, you just need to ensure that in you elasticsearch.yml file on each of your nodes the transport.host or network.host is set to a non-localhost address. You can also look a the transport_address in the Nodes Info API

Same thing is applicable for Kibana means same way can we ensure the Kibana running in Prod Mode

I'm not sure Kibana has a distinction between development and production mode currently though it may be better to ask that in the Kibana category of this forum

1 Like

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