Assign next available free tcp port to logstash input stream