elasticsearch - 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
}
你能告诉我如何解决这个问题吗?
谢谢你的帮助
解决方案
推荐阅读
- algorithm - 寻找针对特定组合问题的优化算法
- magento - 使用沙盒/测试帐户进行 Magento2 集成测试,无需安装
- .net - 为什么尝试将数据模型添加到数据库会挂起 Visual Studio?
- python - OpenCV - 如何从同一源捕获两个视频源 - Python
- javascript - 使用 .map 将 API 数据加载到 Slick-Slider 组件中
- url - 在没有 CURL 调用的情况下检查 URL 是否存在
- crud - WebApi 上的 CRUD - 带有实体框架的 Asp .net Core
- python - 使用 Tensorflow 的 Load_Model 出错
- java - Spring Boot - 将多个参数传递给存储过程 spring 数据存储库的更简洁或优雅的方式
- python - 我试图解决 codeforces 上的“字符串分数”问题