I have installed LS 5.2.1 and filebeat 5.2.1. (CentOs7) When attempting to ship via filbeat, I am getting the following error in the filebeat log.
2017-02-21T23:25:15-05:00 ERR Connecting error publishing events (retrying): Get http://192.168.56.102:5044: read tcp 192.168.56.101:33570->192.168.56.102:5044: read: connection reset by peer
2017-02-21T23:25:36-05:00 INFO Non-zero metrics in the last 30s: libbeat.es.publish.read_errors=1 libbeat.es.publish.write_bytes=126
I have verified that I can telnet from the filebeat host to the logstash host on port 5044..
The following are the changes that I made to the default /etc/filebeat/filebeat.yml file
-
input_type: log
document_type: syslogPaths that should be crawled and fetched. Glob based paths.
paths:
- /var/log/secure
#- c:\programdata\elasticsearch\logs*
- /var/log/secure
#output.logstash:
The Logstash hosts
hosts: ["192.168.56.102:5044"]
and here is the logstash plugin file that I have in /etc/logstash/conf.d on the logstash host
input {
beats {
port => 5044
client_inactivity_timeout => "900"
}
}
output {
stdout { }
elasticsearch { }
}
I have searched the previous topics and have been unable to find any resolution. Any advice would be greatly appreciated.