# How to set https in beats agents configuration

**URL:** https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527
**Category:** Beats
**Tags:** beats-module, metricbeat
**Created:** [November 9, 2022, 10:09am UTC](https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527 "2022-11-09T10:09:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jisha](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jisha](https://discuss.elastic.co/u/jisha)
#### Post date: [November 9, 2022, 10:09am UTC](https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527/1 "2022-11-09T10:09:17Z")

</div>

how to set https in beats agents configuration ?  
i am using 7.17.3 v of elk. output is through logstash.

---

<div class="post-metadata">

### Author: ![tatdat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tatdat/32/113160_2.png) [@tatdat](https://discuss.elastic.co/u/tatdat)
#### Post date: [November 9, 2022, 10:21am UTC](https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527/2 "2022-11-09T10:21:33Z")

</div>

I understand that you want to configure SSL for Logstash output. Correct me if I am wrong.  
You can check the document at: [Secure communication with Logstash | Filebeat Reference [8.5] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/current/configuring-ssl-logstash.html#configuring-ssl-logstash)

---

<div class="post-metadata">

### Author: ![jisha](https://avatars.discourse-cdn.com/v4/letter/j/49beb7/32.png) [@jisha](https://discuss.elastic.co/u/jisha)
#### Post date: [November 10, 2022, 5:32am UTC](https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527/3 "2022-11-10T05:32:26Z")

</div>

thankyou i understood the changes which we have to give in logstash config file .what changes should we give in beat config file ?

---

<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: [December 8, 2022, 7:32am UTC](https://discuss.elastic.co/t/how-to-set-https-in-beats-agents-configuration/318527/4 "2022-12-08T07:32:28Z")

</div>

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