Filebeat will not start on my CentOS 7 box. I have Logstash running fine, Kibana can be accessed, and I even installed packetbeat to see if it was something wrong with the beats, but Packetbeat works fine.
Filebeat将不会启动我的CentOS 7框。我有运行良好的日志隐藏,Kibana可以访问,我甚至安装了packetbeat看看它是否有什么问题,但是packetbeat可以正常工作。
Here is what is happening when I try to start filebeat:
下面是我尝试启动filebeat时发生的事情:
Here are the filebeat logs:
下面是filebeat日志:
My Filebeat config passes the '-configtest' option, so it can't be that. The only output that I get from the debugging option is this:
我的Filebeat配置通过了'-configtest'选项,所以不可能是这样。我从调试选项中得到的唯一输出是:
Exiting: Could not start registrar: Error loading state: Error decoding states: EOF
I have also tried these two commands to no avail:
我也试过这两个命令,但没有效果:
systemctl reset-failed filebeat.service
systemctl start filebeat.service
Anyone have any other commands to try to try and get this to work?
有人有其他命令可以尝试让它工作吗?
1 个解决方案
#1
0
You need to delete the registry file, this is a known issue appartently. Forum post with an answer from the ELK guys
您需要删除注册表文件,这是一个众所周知的问题。论坛帖子得到了来自麋鹿的回答。
rm -r /var/lib/filebeat/registry
systemctl reset-failed filebeat
systemctl start filebeat
#1
0
You need to delete the registry file, this is a known issue appartently. Forum post with an answer from the ELK guys
您需要删除注册表文件,这是一个众所周知的问题。论坛帖子得到了来自麋鹿的回答。
rm -r /var/lib/filebeat/registry
systemctl reset-failed filebeat
systemctl start filebeat