Hey my filebeat stopped sending logs last friday and I'm wondering as to what reason is it:
journalctl -fu filebeat -> ERROR Failed to connect to backoff(async(tcp://<logstash_ip>:5044)): dial tcp <logstash_ip>:5044: connect: connection refused
And my filebeat config is:
filebeat.inputs:
- type: log
paths:
- '/var/lib/docker/containers/*/*.log'
json.message_key: log
json.keys_under_root: true
logging.level: error
output.logstash:
hosts: ["<logstash_ip>"]
telnet <logstash_ip> 5044
or 8086 or 9200 all works and there is connection
Logstash as input has:
input {
beats {
port => 5044
client_inactivity_timeout => 68000
}
}