My ELK is in a server of xyzcorp.com of IP 16.xxx.xxx.xxx and filebeat is in xyz.com of IP 16.aaa.aaa.aaa
Both are in different domains but in same intranet umbrella.
In filebeat.yml, I'm enabling the output.logstash
- type: log
enabled: true
paths:
- /path/to/*.log
output.logstash:
# The Logstash hosts
hosts: ["16.xxx.xxx.xxx:5044"]
and in logstash.config,
input {
beats {
type => beats
port => 5044
host => "16.xxx.xxx.xxx"
}
}
and logstash.yml is unchanged
What is going wrong? I dont know!
Giving the following error:
2019-07-12T06:57:20.928Z ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp://16.xxx.xxx.xxx:5044)): dial tcp 16.xxx.xxx.xxx:5044: i/o timeout
2019-07-12T06:57:20.929Z INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp://16.xxx.xxx.xxx:5044)) with 2 reconnect attempt(s)