Skip to content
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的RegsitryState失败,没有return错误,导致死亡的容器的filebeat配置文件一直存在 #334

Open
NormanZhang opened this issue Jul 22, 2021 · 1 comment

Comments

@NormanZhang
Copy link

死亡的容器的filebeat配置文件一直未被删除。
查问题查到最后,发现读取filebeat的regsitrystate的文件地址是错误的
FILEBEAT_REGISTRY = "/var/lib/filebeat/registry"
而这个读取失败的错误从来都没有打印出日志来。
因为
if err != nil {
return nil
}

@Echo21bash
Copy link

FILEBEAT_REGISTRY

死亡的容器的filebeat配置文件一直未被删除。 查问题查到最后,发现读取filebeat的regsitrystate的文件地址是错误的 FILEBEAT_REGISTRY = "/var/lib/filebeat/registry" 而这个读取失败的错误从来都没有打印出日志来。 因为 if err != nil { return nil }

你好怎么解决的呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants