1、查看报错

journalctl -u filebeat
或者
filebeat -c /etc/filebeat/filebeat.yml

找到报错信息
runtime/cgo: pthread_create failed: Operation not permitted
在这里插入图片描述

2、解决报错

在filebeat.yml配置文件添加如下配置,重启filebeat

seccomp:
  default_action: allow 
  syscalls:
  - action: allow
    names:
    - rseq

在这里插入图片描述

3、验证

systemctl restart filebeat
systemctl status filebeat
ps -ef|grep filebeat
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐