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.
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.
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.