Filebeat to logstash connect: no route to host

Everything is up and running but filebeat cannot contact logstash which is on another machine
logstash.conf
input {
beats {
port => 5044
}
}

output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "%{m3beat-%{+YYYY.MM.dd}"
}
stdout { codec => rubydebug }
}
filebeat.yml
output.logstash:

The Logstash hosts

hosts: ["10.1.252.21:5044"]

I get the following error in filebeat log:
48:25.719+0100 ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp://10.1.252.21:5044)): dial tcp 10.1.252.21:5044: connect: no route to host
2019-02-04T17:48:25.719+0100 INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp://10.1.252.21:5044)) with 6 reconnect attempt(s)
2019-02-04T17:48:25.719+0100 DEBUG [logstash] logstash/async.go:111 connect

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