kibana发现上无可用碎片操作异常

w6lpcovy  于 2022-12-16  发布在  Kibana
关注(0)|答案(1)|浏览(287)

当我想查看kibana上的日志时,我收到这个错误:1 of 37 shards failed The data you are seeing might be incomplete or wrong.这是响应:

{
  "took": 10,
  "timed_out": false,
  "_shards": {
    "total": 21,
    "successful": 20,
    "skipped": 20,
    "failed": 1,
    "failures": [
      {
        "shard": 0,
        "index": "tourism-2022.12.11",
        "node": null,
        "reason": {
          "type": "no_shard_available_action_exception",
          "reason": null,
          "index_uuid": "j2J6dUvTQ_q7qeyyU56bag",
          "shard": "0",
          "index": "tourism-2022.12.11"
        }
      }
    ]
  },
  "hits": {
    "total": 0,
    "max_score": 0,
    "hits": []
  }
}

我删除了一些索引
膨胀聚氯乙烯,但没有任何工作

k3fezbri

k3fezbri1#

通过Kibana控制台检查集群状态,如果没有Kibana,请将命令转换为curl请求。
1.检查Elasticsearch群集状态:
GET /_cluster/health?wait_for_status=yellow&timeout=50s
1.检查索引状态:
GET /_cat/indices/tourism-2022.12.11?v=true&s=index
所有的碎片都是绿色的,你的索引中有可用的文档吗?

相关问题