I'm using the logstash-http-output plugin to send logs (converted to a SOAP message during filtering) to an endpoint on another server.
I'm having problems trying to find a way to bind a local port for the http output plugin. This is for the firewall purposes - currently it sends out on a random port (often in the tcp/50000-60000 range). For the connection to be accepted, I to specifically define this connection between the two servers and two distinct ports for the traffic to be allowed both ways. Is there any way I can do this?
url => "URL-to-soap-endpoint"
http_method => "post"
content_type => "text/xml;charset=UTF-8"
format => "message"
message => '<soap:Envelope SOAP MESSAGE </soap:Envelope>'