# Enable security by setting \[xpack.security.enabled\] to \[true\] in the elasticsearch.yml file and restart the node.: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes

**URL:** <https://discuss.elastic.co/t/enable-security-by-setting-xpack-security-enabled-to-true-in-the-elasticsearch-yml-file-and-restart-the-node-check-the-elasticsearch-monitoring-cluster-network-connection-or-the-load-level-of-the-nodes/213316>\
**Category:** Elasticsearch\
**Created:** [December 30, 2019, 7:16am UTC](https://discuss.elastic.co/t/enable-security-by-setting-xpack-security-enabled-to-true-in-the-elasticsearch-yml-file-and-restart-the-node-check-the-elasticsearch-monitoring-cluster-network-connection-or-the-load-level-of-the-nodes/213316 "2019-12-30T07:16:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Has\_Cape](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/has_cape/32/60069_2.png) [@Has\_Cape](https://discuss.elastic.co/u/Has_Cape)\
**Post date:** [December 30, 2019, 7:16am UTC](https://discuss.elastic.co/t/enable-security-by-setting-xpack-security-enabled-to-true-in-the-elasticsearch-yml-file-and-restart-the-node-check-the-elasticsearch-monitoring-cluster-network-connection-or-the-load-level-of-the-nodes/213316/1 "2019-12-30T07:16:30Z")

</div>

Hello;  
How can I edit and apply elasticsearch.yaml file of a running ElasticSearch on Kubernetes?

---

<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:** [January 27, 2020, 7:16am UTC](https://discuss.elastic.co/t/enable-security-by-setting-xpack-security-enabled-to-true-in-the-elasticsearch-yml-file-and-restart-the-node-check-the-elasticsearch-monitoring-cluster-network-connection-or-the-load-level-of-the-nodes/213316/2 "2020-01-27T07:16:40Z")

</div>

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