Logstash appends port 9200 to Elasticsearch URL

I am using AWS elasticsearch service , which return me a URL for Elasticsearch.
Example : https:// www.es-aws.com // ES Url
When I try to use the URL in logstash, it tries to connect https:// www.es-aws.com:9200 instead of https:// www.es-aws.com.

Can anyone suggest how to get rid of the port and directly listen to the URL without port number.

Logstash be default appends the default Elasticsearch port, which is 9200. If you instead want to use port 443, which is the default for HTTPS, you will need to specify it explicitly.

@Christian_Dahlqvist Can you provide me any docs related to it please


@Christian_Dahlqvist Thanks for youre help. I found the solutions actually we should use https://github.com/awslabs/logstash-output-amazon_es plugin when we are dealing with Elasticsearch AWS service.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.