Question

ERR SSL client failed to connect with: dial tcp 192.168.1.10:5044: getsockopt: connection refused

Hi , I try to connect to ELK server from my server client but I get this error when I restart my filebeat daemon :

  • Restarting Sends log files to Logstash or directly to Elasticsearch. filebeat 2016/04/25 12:27:55.381622 transport.go:125: ERR SSL client failed to connect with: dial tcp 192.168.1.10:5044: getsockopt: connection refused

Can any one help me ?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, i have the same error : localhost /usr/bin/filebeat[80858]: transport.go:125: SSL client failed to connect with: dial tcp 172.16.1.133:5044: getsockopt: connection refused"

both of machines running on the same cluster (local) input { beats { port => 5044 ssl => true ssl_certificate => “/etc/pki/tls/certs/logstash-forwarder.crt” ssl_key => “/etc/pki/tls/private/logstash-forwarder.key” } } filter { if [type] == “DooperaLog” { grok { match => { “message” => “%{COMBINEDAPACHELOG}” } } geoip { source => “clientip” } }
}

output { if [type] == “DooperaLog” { elasticsearch { hosts => [“localhost:9200”] sniffing => true manage_template => false index => “Doopera-%{+YYYY.MM.dd}” document_type => “%{[@metadata][type]}” } }
}

that’s work with syslog configuration and i have filebeat*xxxxx output but when i change to matching with my what i need i don’t see anything.

Any help please ?