Elasticsearch 还在初始化 kibana 索引 [英] Elasticsearch is still initializing the kibana index
问题描述
当我尝试启动 Kibana 时,我面临以下问题.我首先重新启动了我的 elasticsearch 服务器,它运行成功.启动 Elasticsearch 后,我尝试启动 Kibana,但没有成功.
When I am trying to start Kibana I am facing the following issue. I first restarted my elasticsearch server it was running successfully. After starting Elasticsearch I tried to start Kibana but no luck.
{"name":"Kibana","hostname":"ABCD","pid":3848,"level":30,"msg":"Elasticsearch is still initializing the kibana index... Trying again in 2.5 second.","time":"2015-07-03T07:35:34.936Z","v":0}
提前致谢
推荐答案
警告:删除
.kibana
索引将使您丢失所有 kibana 设置(索引、图表、仪表板)
Warning: Removing
.kibana
index will make you lose all your kibana settings (indexes, graphs, dashboards)
此行为有时是由现有的 .kibana
索引引起的.请使用以下命令删除elasticsearch中的.kibana
索引:
This behavior is sometimes caused by an existing .kibana
index.
Kindly delete the .kibana
index in elasticsearch using following command:
curl -XDELETE http://localhost:9200/.kibana
删除索引后,重启 Kibana.
After deleting the index, restart Kibana.
如果问题仍然存在,并且您愿意丢失任何现有数据,您可以尝试使用以下命令删除所有索引:
If the problem still persists, and you are willing to lose any existing data, you can try deleting all indexes using following command:
curl -XDELETE http://localhost:9200/*
接着是重启 Kibana.
Followed by restarting Kibana.
注意:localhost:9200
是elasticsearch 服务器的host:port
,根据你的情况可能会有所不同.
Note: localhost:9200
is the elasticsearch server's host:port
, which may be different in your case.
这篇关于Elasticsearch 还在初始化 kibana 索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!