I'm trying to communicate my logstash instance with another host in a different LAN but I can't get my instance work in a different IP than the localhost: 127.0.0.1.
This is my config settings:
http.host:"172.20.25.69"
# Bind port for the metrics REST endpoint, this option also accept a range #(9600-9700) and logstash will pick up the first available ports.
http.port: 9600-9700
but when running logstash i can't communicate with no other host because I get logstash listening on
0.0.0.0:5144 for incoming log traffic.
Thanks! I thought that was wrong.
The case is that I'm getting a connection refused while trying to sends logs to my logstash instance. The host where my instance is running responds with ICMP type=3 code= 10 meaning that the host is rejecting the incoming traffic.
What are you using to send to Logstash? Have you verified with e.g. netstat that Logstash actually is listening on the port in question? Can you send data to that port from the same host? What's the firewall situation?
It was I firewall isssue. The firewall daemon of the host was rejecting the the incoming packets on any unusual port.
I'm using a firewall for sending los to logstash.
netstat verified that the host was listening on that port.
I disabled the host firewall and it start receiving the logs
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.