I have setup logstash for fetching files from 2 separate input sources and these are output to two elasticsearch indexes. For one output, I have set;
hosts => ["192.168.1.1:9200"]
and for other, I have set just
hosts => ["192.168.1.1"]
Both of them are working fine. I run a cluster with 3 master eligible nodes (different ports in single ip / machine). Is it mandatory to specify port?