# Amazon Elasticsearch Service without port

**URL:** <https://discuss.elastic.co/t/amazon-elasticsearch-service-without-port/51845>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 4, 2016, 4:09am UTC](https://discuss.elastic.co/t/amazon-elasticsearch-service-without-port/51845 "2016-06-04T04:09:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shantanuo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shantanuo/32/10141_2.png) [@shantanuo](https://discuss.elastic.co/u/shantanuo)\
**Post date:** [June 4, 2016, 4:09am UTC](https://discuss.elastic.co/t/amazon-elasticsearch-service-without-port/51845/1 "2016-06-04T04:09:30Z")

</div>

packetbeat configuration file adds the port 9200 to the URL. But Amazon Elasticsearch service does not use that port. In fact there is no port but https needs to be used. How do I configure packetbeat.yml file to connect to amazon elasticsearch service?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [June 5, 2016, 5:24pm UTC](https://discuss.elastic.co/t/amazon-elasticsearch-service-without-port/51845/2 "2016-06-05T17:24:40Z")

</div>

See this thread: [Anyone tried installing beats with managed AWS ES?](https://discuss.elastic.co/t/anyone-tried-installing-beats-with-managed-aws-es/43146/4)

For https the port is 443 so you could set `hosts: ["https://host.example.com:443"]`.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 25, 2016, 4:10am UTC](https://discuss.elastic.co/t/amazon-elasticsearch-service-without-port/51845/3 "2016-06-25T04:10:03Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
