报错信息:
[error][savedobjects-service] [.kibana_task_manager] Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.6_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.6_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
log [22:08:50.809] [fatal][root] Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.6_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.6_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
[error][savedobjects-service] [.kibana] Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_7.17.6_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_7.17.6_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
FATAL Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. Please check the health of your Elasticsearch cluster and try again. Unexpected Elasticsearch ResponseError: statusCode: 429, method: PUT, url: /.kibana_task_manager_7.17.6_001/_mapping?timeout=60s error: [cluster_block_exception]: index [.kibana_task_manager_7.17.6_001] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];,
在启动Kibana时报了上述错误,在网上百度了好多帖子未找到答案。后来翻看了配置信息也没发现错误。想来想去是不是es启动时有问题呢?自己又重新启动了一下es,发现日志中竟然有错误,观看提示的英文错误,大致意思是磁盘占用率达到95%。删除了es中一个数据量较大的index索引,再次启动es不再报错,同样Kibana启动也正常了。