Filebeat fails to send logs to Elasticsearch

Hello,

I have filebeat (5.6.3) when i am trying to ship logs to Elasticsearch i get below error.

2019-05-15T14:01:19.553-0400 ERROR pipeline/output.go:92 Failed to publish events: Post http://demo.com:9200/_bulk: net/http: HTTP/1.x transport connection broken: write tcp 1.2.3.4->1.2.3.4:9200: write: connection reset by peer
2019-05-15T14:01:20.152-0400 ERROR elasticsearch/client.go:299 Failed to perform any bulk index operations: Post http://demo.com:9200/_bulk: net/http: HTTP/1.x transport connection broken: write tcp 1.2.3.4:55802->1.2.3.4:9200: write: connection reset by peer.

Can some one please help to fix this. How do i increase client timeout on Elasticsearch.

Thanks,
Surya

Hello @surya2 Can you reach Elasticsearch using curl? Looking at the errors this looks like network related or a bad configuration.

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