[Elasticsearch][Bug]at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

OS: Windows Server 2019 stand
Memory: 16G
Elasticsearch: 8.4.3_x86_64
Kibana: 8.4.3_x86_64

Elasticsearch Path:  C:\ES\ES01\
Kibana Path: C:\Kibana\

1. 執行時出現以下錯誤:
bootstrap check failure [1] of [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

2.開啟C:\ES\ES01\config\elasticsearch.yml

3.確認以下資訊

# Use a descriptive name for the node:
#node.name: node-1

4.如果沒設置node.name:

#添加以下
#cluster.initial_master_nodes: ["節點名稱,預設node-1"]
cluster.initial_master_nodes: ["node-1"]

參考資料:
ELK搭建过程中出现的问题与解决方法汇总

相關資料:

 

嘗試以自己的角度來整理並紀錄,也許會對一些人有幫助。

文章有錯、參考聯結有漏或是連結失效..等,還請幫忙告知,謝謝。
另外參考資料中有很多更棒的文章,建議多看看。