Priti, I think you are asking about the source ports, not the destination. The agent will open a random high port (> 5000) on the source side (application server), then connect to port 5044 (by default) on the log stash server. Same pattern for the kafka connection: random high port -> 9092.
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.