graylog es 故障问题相关问题解决
以下是整理关于因为es故障造成graylog 异常的一些解决方法
问题
- 现象
Deflector exists as an index and is not an alias - 解决
官方的步骤
- Stop all Graylog nodes
- (OPTIONAL) If you want to keep the already ingested messages, reindex them into the Elasticsearch index with the greatest number, e. g. graylog_23 if you want to fix the deflector graylog_deflector, via the Elasticsearch Reindex API.
- Delete the graylog_deflector index via the Elasticsearch Delete Index API.
- Add action.auto_create_index: false to the configuration files of all Elasticsearch nodes in your cluster and restart these Elasticsearch nodes, see Elasticsearch Index API - Automatic Index Creation and Creating an Index for details.
- Start the Graylog master node.
- Manually rotate the active write index of the index set on the System / Indices / Index Set page in the Maintenance dropdown menu.
- (OPTIONAL) Start all remaining Graylog slave nodes.
实际上我们可以不按照官方的做法,以下是一些实践(前提是现有的数据不是很重要,可以删除的)
- 可以不用停止graylog server
- 修改es 配置,添加action.auto_create_index: false注意需要重启es集群,理论上单台重启不会有影响的(和部署模型也有关系)
- 删除*_deflector 索引(可以通过api以及ui)
- 手工 rotate active write
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2018-06-23 TimescaleDB 简单试用
2017-06-23 VMware harbor && minio 搭建企业docker私有镜像以及需要注意的问题
2016-06-23 centos 安装 pip