Filebeat is on a prod server and Logstash is on a different servers.. I can not figure out why Logstash is rejecting my Filebeat log pushes. Below is the Logstash error. And below that shows telnet to port 5044 works. ELK versions aree 5.2.2
2017-03-06T17:47:24Z INFO Error publishing events (retrying): read tcp 10.0.0.165:39710->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:47:39Z INFO Non-zero metrics in the last 30s: filebeat.harvester.open_files=4 libbeat.logstash.publish.read_errors=5 filebeat.harvester.started=4 filebeat.harvester.running=4 libbeat.publisher.published_events=2044 libbeat.logstash.call_count.PublishEvents=5 libbeat.logstash.published_but_not_acked_events=10220 libbeat.logstash.publish.write_bytes=2180
2017-03-06T17:47:40Z ERR Failed to publish events caused by: read tcp 10.0.0.165:39716->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:47:40Z INFO Error publishing events (retrying): read tcp 10.0.0.165:39716->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:48:09Z INFO Non-zero metrics in the last 30s: libbeat.logstash.publish.read_errors=1 libbeat.logstash.publish.write_bytes=308 libbeat.logstash.published_but_not_acked_events=2044 libbeat.logstash.call_count.PublishEvents=1
2017-03-06T17:48:12Z ERR Failed to publish events caused by: read tcp 10.0.0.165:39774->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:48:12Z INFO Error publishing events (retrying): read tcp 10.0.0.165:39774->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:48:39Z INFO Non-zero metrics in the last 30s: libbeat.logstash.call_count.PublishEvents=1 libbeat.logstash.publish.read_errors=1 libbeat.logstash.publish.write_bytes=307 libbeat.logstash.published_but_not_acked_events=2044
2017-03-06T17:49:09Z INFO No non-zero metrics in the last 30s
2017-03-06T17:49:12Z ERR Failed to publish events caused by: read tcp 10.0.0.165:39788->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:49:12Z INFO Error publishing events (retrying): read tcp 10.0.0.165:39788->10.0.0.212:5044: read: connection reset by peer
2017-03-06T17:49:39Z INFO Non-zero metrics in the last 30s: libbeat.logstash.publish.write_bytes=311 libbeat.logstash.published_but_not_acked_events=2044 libbeat.logstash.publish.read_errors=1 libbeat.logstash.call_count.PublishEvents=1
2017-03-06T17:50:09Z INFO No non-zero metrics in the last 30s
ubuntu@ip-10-0-0-165:/etc/filebeat-PROD!!!$ telnet 10.0.0.212 5044
Trying 10.0.0.212...
Connected to 10.0.0.212.
Please format your filebeat.yml as preformatted text when posting it here. If you don't all indentation is lost and indentation matters with YAML files.
Have you tried disabling SSL on the Logstash side? If that works you know that the problem is that Filebeat doesn't use SSL.
ok good call. I changed Logstash to ssl => false
and now i see f filebeat log index in: curl 'localhost:9200/_cat/indices?v'
thanks. so now how do i figure out why ssl is failing? If the public cert was bad then i assume the error would state that. What else so i explore to get ssl working
I repeat: Please format your filebeat.yml as preformatted text when posting it here. If you don't all indentation is lost and indentation matters with YAML files.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.