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

前提:

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

升级过程详见: https://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都将不会再报错 ! 问题解决。

转载于:https://blog.51cto.com/michaelkang/2298689

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值