[Error] pipeline/output.go:74 Failed to connect: dial tcp

I got Failed to connect: dial tcp x.x.x.x:5044: getsockopt: connection refused

/etc/filebeat/filebeat.yml
filebeat.prospectors:

  • input_type: log
    paths:
    • /var/log/cms/*.log

output.logstash:
hosts: ["x.x.x.x:5044"]

Could you suggest me to fix it?

Is Logstash running?

Is the host Logstash runs on reachable?

Have you configured the Beats input with port 5044 in Logstash?

Do you have a firewall blocking port 5044?

Now I have fixed it but update to latest one.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.