首页 > 解决方案 > Packetbeat 未指向写入索引

问题描述

我尝试编辑 packetbeat 策略,然后从 Kibana 上的索引管理中删除了该索引中的策略,然后再次添加它(以考虑新配置),不幸的是我得到了lifecycle error

illegal_argument_exception: rollover target [packetbeat-7.9.2] does not point to a write index

在此处输入图像描述

我试图运行:

PUT packetbeat-7.9.2-2020.11.17-000002
{
  "aliases": {
    "packetbeat-7.9.2": {
      "is_write_index": true
    }
  }
}

但我得到了错误:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "resource_already_exists_exception",
        "reason" : "index [packetbeat-7.9.2-2020.11.17-000002/oIsVi0TVS4WHHwoh4qgyPg] already exists",
        "index_uuid" : "oIsVi0TVS4WHHwoh4qgyPg",
        "index" : "packetbeat-7.9.2-2020.11.17-000002"
      }
    ],
    "type" : "resource_already_exists_exception",
    "reason" : "index [packetbeat-7.9.2-2020.11.17-000002/oIsVi0TVS4WHHwoh4qgyPg] already exists",
    "index_uuid" : "oIsVi0TVS4WHHwoh4qgyPg",
    "index" : "packetbeat-7.9.2-2020.11.17-000002"
  },
  "status" : 400
}

你能告诉我如何解决这个问题吗?

谢谢你的帮助

标签: elasticsearchelkilm

解决方案


推荐阅读