# Does filebeat support http/https for log shipping?

**URL:** https://discuss.elastic.co/t/does-filebeat-support-http-https-for-log-shipping/180720
**Category:** Beats
**Tags:** filebeat
**Created:** [May 12, 2019, 8:18pm UTC](https://discuss.elastic.co/t/does-filebeat-support-http-https-for-log-shipping/180720 "2019-05-12T20:18:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Satyakam\_mohapatra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/satyakam_mohapatra/32/45343_2.png) [@Satyakam\_mohapatra](https://discuss.elastic.co/u/Satyakam_mohapatra)
#### Post date: [May 12, 2019, 8:18pm UTC](https://discuss.elastic.co/t/does-filebeat-support-http-https-for-log-shipping/180720/1 "2019-05-12T20:18:35Z")

</div>

Hi,  
I need a information regarding filebeats

1. What is the protocol filebeats use to transfer log file to logstash? Is it http! and If it is not then is there anyway we can do it via http ?

2.Currently I have logstash and filebeat in different servers and I don't want to keep TCP Ip channel open for file transfer due to security . Is there any other way to achieve this ?

---

<div class="post-metadata">

### Author: ![martinr\_ubi](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@martinr\_ubi](https://discuss.elastic.co/u/martinr_ubi)
#### Post date: [May 12, 2019, 9:34pm UTC](https://discuss.elastic.co/t/does-filebeat-support-http-https-for-log-shipping/180720/2 "2019-05-12T21:34:04Z")

</div>

Hi,

Beats talk to logstash over a TCP protocol. It cannot use http.  
The way to secure this is to use certificates so that beats can only connect to authenticated logstash servers and the logstash server only accept connection from authenticated beats. The documentation for the beats logstash output and the documentation for the logstash beats input has the details.

---

<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 9, 2019, 9:34pm UTC](https://discuss.elastic.co/t/does-filebeat-support-http-https-for-log-shipping/180720/3 "2019-06-09T21:34:08Z")

</div>

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