栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

Kibana启动失败无法连接Elasticsearch的解决方法

Kibana启动失败无法连接Elasticsearch的解决方法

报错内容

log [07:36:42.870] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [. kibana_task_manager_1/qQml2baVSQSHtrRXvvyQLQ] already exists, with { index_uuid=“qQml2baVSQSHtrRXvvyQLQ” & index=". kibana_task_manager_1" }

log [07:36:42.873] [warning][savedobjects-service] Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_task_manager_1 and restarting Kibana.

log [07:36:42.877] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: [resource_already_exists_exception] index [. kibana_1/abFomY6iTwqhR9SdsArkhg] already exists, with { index_uuid=“abFomY6iTwqhR9SdsArkhg” & index=". kibana_1" }

log [07:36:42.879] [warning][savedobjects-service] Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_1 and restarting Kibana.

在前台访问http://127.0.0.1:5601/提示

Kibana server is not ready yet

看粗体部分的提示,是因为index索引已经存在,使用elasticsearch-head去删除索引就行了
下载地址:

https://github.com/mobz/elasticsearch-head

需要node环境,安装好后

提交删除就可以

无法连接ES?

修改ES的配置文件elasticsearch.yml
添加:

http.cors.enabled: true
http.cors.allow-origin: "*"
中文

kibana 7 中官方加入了中文的选项

只需要在配置文件 kibana.yml 中修改

i18n.locale: “zh-CN”

就可以了

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/758073.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号