在部署filebeat启动后,在接收端logstash上未接受到数据,./filebeat -e 发现报错:
排查思路:
1、filebeat.yml的配置:
hosts中的localhost:5044调整至接收端IP和端口(172.17.166.156:15137),
2、logstash/config中的logstash.conf配置:
如果是UDP,可增加TCP:
input{
udp{
port => 514
type => syslog
}
beats{
port => 15137
type => syslog
}
}
配置修改后问题解决。