码迷,mamicode.com
首页 > 其他好文 > 详细

kibana页面报错:Config: Request failed with status code

时间:2018-10-11 16:52:20      阅读:2673      评论:0      收藏:0      [点我收藏+]

标签:cti   common   集群   ack   gen   elastic   tomat   settings   工程   

前提:
kibana 6.2.4 升级 6.4.2 完成升级后首次打开kibana页面。

升级过程详见: http://blog.51cto.com/michaelkang/2298677

报错内容:

浏览器打开kibana页面后:

左上角提示:
Help us improve the Elastic Stack by providing basic feature usage statistics? We will never share this data outside of Elastic. Read more

点击 yes or no  报错如下:

Config: Request failed with status code: 503

详细报错内容:
Error: Request failed with status code: 503
    at _callee$ (https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:878828)
    at tryCatch (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:602785)
    at Generator.invoke [as _invoke] (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:606667)
    at Generator.prototype.(anonymous function) [as next] (https://cnkbhbak.ptmind.com/bundles/vendors.bundle.js:43:603908)
    at step (https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:879600)
    at https://cnkbhbak.ptmind.com/bundles/commons.bundle.js:3:879726

排查步骤:

打开浏览器工程模式查看浏览器返回错误信息:
{statusCode: 503, error: "Service Unavailable",

 message: "Automatic index creation failed",…} 《== 核心报错内容

code: "ES_AUTO_CREATE_INDEX_ERROR"
error: "Service Unavailable"
message: "Automatic index creation failed"
statusCode: 503
以上报错信息基本可以确定是集群不能自动创建索引导致的,先临时打开试一下。

临时开启允许es集群允许创建索引

PUT _cluster/settings
{
    "transient" : 
        {
      "action.auto_create_index": "true"
        }
}
然后点击 yes or no都将不会再报错 ! 问题解决。

kibana页面报错:Config: Request failed with status code

标签:cti   common   集群   ack   gen   elastic   tomat   settings   工程   

原文地址:http://blog.51cto.com/michaelkang/2298689

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!