Hi, I see a lot of discussions on how to set the publish address on logstash, but all answers refers to config the bind_host on elasticsearch server rather than logstash.
My problem is, I have many servers where I installed only the logstash and they send info to a specific server with Elasticsearch on it. All things works well but in some servers with logstash I have multiple IP address and I have a Firewall between the logstash servers and elasticsearch server so I need to use the primary IP address from these machines so I can pass through firewall. The problem is in these multiple IPs servers the logstash set the wrong IP address as publish_address and then have "connection timed out" problems.
So how do I configure the publish address in logstash servers?