# Bootstrap checks failed & the default discovery settings are unsuitable for production use; at least one of \[discovery.seed\_hosts, discovery.seed\_providers, cluster.initial\_master\_nodes\] must be configured

**URL:** <https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842>\
**Category:** Elasticsearch\
**Created:** [July 3, 2020, 5:45pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842 "2020-07-03T17:45:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkrshna](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nkrshna](https://discuss.elastic.co/u/nkrshna)\
**Post date:** [July 3, 2020, 5:45pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842/1 "2020-07-03T17:45:47Z")

</div>

Hi

I have my Elasticsearch up and running but when I'm trying to configure xpack security feature under basic license mode is see issue and elasticsearch service does not restart.

Below is my `elasticsearch.yml` file.

```auto
cluster.name: Elasticsearch
node.name: master
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 0.0.0.0
discovery.seed_hosts: []
cluster.initial_master_nodes: []
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certification
xpack.security.transport.ssl.keystore.path: /etc/pki/tls/certs/elasticsearch-certificates.p12
xpack.security.transport.ssl.truststore.path: /etc/pki/tls/certs/elasticsearch-certificates.p12

discovery.type: single-node

```

Below is the message from `elasticsearch.log` file.

```auto
enforcing bootstrap checks
[2020-06-17T16:39:37,858][ERROR][o.e.b.Bootstrap] [ELK.server.com] node validation exception
[1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

```

Please help me on this.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 3, 2020, 6:06pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842/2 "2020-07-03T18:06:47Z")

</div>

Please read [https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

**Author:** ![nkrshna](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nkrshna](https://discuss.elastic.co/u/nkrshna)\
**Post date:** [July 3, 2020, 7:01pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842/3 "2020-07-03T19:01:03Z")

</div>

Thanks for the reply @dadoonet. I have modified my `elasticsearch.yml` file accordingly and both the services (elasticsearch & kibana) are up and running.

Can we create a user to send Windows events through Winlogbeat instead of superuser `elastic` and password to be mentioned as plain text in `winlogbeat.yml` file.

---

<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:** [July 31, 2020, 7:01pm UTC](https://discuss.elastic.co/t/bootstrap-checks-failed-the-default-discovery-settings-are-unsuitable-for-production-use-at-least-one-of-discovery-seed-hosts-discovery-seed-providers-cluster-initial-master-nodes-must-be-configured/239842/4 "2020-07-31T19:01:06Z")

</div>

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