ELK之 kibana7.7 elasticsearch 7.7 报错master_not_discovered_exception] null or kibana-Request Timeout after 30000ms
{“type”:“log”,”@timestamp”:“2020-05-18T13:34:53Z”,“tags”:[“warning”,“savedobjects-service”],“pid”:4674,“message”:“Unable to connect to Elasticsearch. Error: Request Timeout after 30000ms”}
{“type”:“log”,”@timestamp”:“2020-05-18T13:37:10Z”,“tags”:[“warning”,“savedobjects-service”],“pid”:5075,“message”:“Unable to connect to Elasticsearch. Error: [master_not_discovered_exception] null”}
解决思路:
原因是由elasticsearch.yml的配置未配置正确引起的
vim config/elasticsearch.yml
node.name: node-1
cluster.initial_master_nodes: [“node-1”]
:wq
后重启es后,kibana连接就正常了!
0 条评论