You can see in error automatically port is appended to elasticsearch url. My elasticsearch is hosted on server and my logstash conf file is on my local system.
Can anyone tell me how this port 9200 is automatically append to my elasticearch url?
The Elasticsearch API runs on port 9200 by default, so unless you specify otherwise (e.g., hosts => ["foo.com:1234"], the Elasticsearch Output Plugin for Logstash assumes you want to connect to 9200.
The Elasticsearch Output Plugin for Logstash is configured in the output section of your pipeline configuration, so if you want it to output to port 80 on icici-elk-production.nip.io, your pipeline configuration would include something like:
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.