packetbeat不指向写索引

xurqigkl  于 2021-06-10  发布在  ElasticSearch
关注(0)|答案(0)|浏览(224)

我试图编辑packetbeat策略,然后从kibana上的索引管理中删除该策略,然后再次添加它(考虑新的配置),不幸的是我得到了一个 lifecycle error ```
illegal_argument_exception: rollover target [packetbeat-7.9.2] does not point to a write index

![](https://i.stack.imgur.com/cyqGh.png)
我试着跑:

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
}

你能告诉我怎么解决这个问题吗?
谢谢你的帮助

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题