Kibana 致命错误(服务器尚未准备好)

时间:2021-05-28 09:19:02

标签: elasticsearch kibana elastic-stack

retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]", "cluster.uuid":   "5FrxkY3GRbGzR2nSuEaxow", "node.id": "kHGHvefFTViG8CdPdF5pxw"  }
kibana           | {"type":"log","@timestamp":"2021-05-28T09:15:07+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager]  UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE"}
kibana           | {"type":"log","@timestamp":"2021-05-28T09:15:07+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] Migration completed after 8648ms"}
kibana           | {"type":"log","@timestamp":"2021-05-28T09:15:28+00:00","tags":["warning","plugins","licensing"],"pid":7,"message":"License information could not be obtained from Elasticsearch due to Error: Cluster client cannot be used after it has been closed. error"}
 kibana           | {"type":"log","@timestamp":"2021-05-28T09:15:37+00:00","tags":["warning","plugins-system"],"pid":7,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}
 kibana           | 
 kibana           |  FATAL  Error: Unable to complete saved object migrations for the [.kibana] index. RequestAbortedError: The content length (823769731) is bigger than the maximum allowed string (536870888)
 kibana           | 
 kibana exited with code 1

我在通过 Vega-lite 创建了许多可视化后得到了这个错误。我如何设法解决? 如果你需要我可以发布所有信息

1 个答案:

答案 0 :(得分:1)

在分析了网络上的不同响应后,我设法解决了:

第一步:

 `http://localhost:9200/.kibana/_search?q=type:dashboard&size=100`

2 步:

`curl -X DELETE "localhost:5601/api/saved_objects/kibanaSavedObjectMeta.searchSourceJSON.index/index-pattern/e68f45b0-ab73-11eb-a01c-8590ef1580f4/" -H 'kbn-xsrf: true'
#(Respectly <name>/<type>/<id>)
`

在此之前,我将执行此 link 的说明以确保一切正常 在实践中,问题是由于我们在空间中保存了太多的对象而不是信息。如果我已删除所有内容,则有不同的解决方法,但您也可以增加空间。另一个建议是避免分区