kibana报错"error","savedobjects-service"
es中有数据,但是kibana没有自动生成索引,此方法只能用于测试环境,不是很严谨的做法。时间不太允许,没有深入排查
这时候es中kibana索引状态为red或者yellow状态的,可以观察一下,应该是es异常停止导致的

{"type":"log","@timestamp":"2022-05-10T10:53:11+00:00","tags":["error","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] Action failed with 'search_phase_execution_exception'. Retrying attempt 2 in 4 seconds."}
{"type":"log","@timestamp":"2022-05-10T10:53:11+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_SEARCH. took: 2018ms."}
{"type":"log","@timestamp":"2022-05-10T10:53:15+00:00","tags":["error","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] Action failed with 'search_phase_execution_exception'. Retrying attempt 3 in 8 seconds."}
{"type":"log","@timestamp":"2022-05-10T10:53:15+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_SEARCH. took: 4018ms."}
{"type":"log","@timestamp":"2022-05-10T10:53:23+00:00","tags":["error","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] Action failed with 'search_phase_execution_exception'. Retrying attempt 4 in 16 seconds."}
{"type":"log","@timestamp":"2022-05-10T10:53:23+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_SEARCH. took: 8513ms."}
{"type":"log","@timestamp":"2022-05-10T10:53:39+00:00","tags":["error","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] Action failed with 'search_phase_execution_exception'. Retrying attempt 5 in 32 seconds."}
{"type":"log","@timestamp":"2022-05-10T10:53:39+00:00","tags":["info","savedobjects-service"],"pid":7,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_SEARCH. took: 16017ms."}
# 操作
curl -XDELETE http://localhost:9200/.kibana_task_manager_1
curl -X DELETE http://localhost:9200/.kibana*

登录kibana后需要重新创建索引