-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修复filebeat registry持续增长不释放的问题 #253 #286
base: master
Are you sure you want to change the base?
修复filebeat registry持续增长不释放的问题 #253 #286
Conversation
Signed-off-by: yul <yl000111@126.com>
有个疑问,state信息放在了filebeat内存中,通过 不会在filebeat自身调用 |
https://github.com/elastic/beats/blob/master/filebeat/registrar/registrar.go#L372-L408
如果是这样的话,我想到的办法是改filebeat代码,去处理不存在文件的state。 |
在重写registry前停止filebeat,重写后启动filebeat :)
|
恩,已经在生产环境运行了四五个月了 |
还有哦 |
阿里是不是自己魔改了 filebeat-6.1.1-3 ?我尝试使用 elasitc官方的 filebeat 发现无法自动按照业务创建索引。。 |
我们没有改动filebeat版本和其他配置。 |
索引是logstash创建的吧。 |
issue:#253