I would like to use Logstash to index data into Elasticsearch. I have to use VIP to connect to Elasticsearch cluster. My VIP already contains default port number. For example, my host name is "myhost.com" and I generated VIP using "myhost.com:9200". So my VIp is "myvip.com" but it contains 9200 port. The problem I encountered is that Logstash automatically add ":9200" after my host list. My Logstash configuration file includes this line
" hosts => ["myvip.com"]"
but when I run Logstash, it automatically add ":9200". How to stop to add ":9200" ?
If anyone knows solution, please help me!