# How to Setup FileBeat with Basic Auth for LogStash Output?

**URL:** <https://discuss.elastic.co/t/how-to-setup-filebeat-with-basic-auth-for-logstash-output/36937>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [December 11, 2015, 4:49am UTC](https://discuss.elastic.co/t/how-to-setup-filebeat-with-basic-auth-for-logstash-output/36937 "2015-12-11T04:49:12Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![tuananhtd](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tuananhtd](https://discuss.elastic.co/u/tuananhtd)\
**Post date:** [March 30, 2016, 10:44am UTC](https://discuss.elastic.co/t/how-to-setup-filebeat-with-basic-auth-for-logstash-output/36937/16 "2016-03-30T10:44:06Z")

</div>

Now that the mentioned [Github issue](https://github.com/logstash-plugins/logstash-input-beats/issues/8) is closed. Has anyone give it a try?  
It seem like with self-singed certificate we have to copy the certificate and the private key to the filebeat server? Also we must use the certificate as the CA.  
I do not know much about SSL/TLS protocol could any one give some thoughts on this? Thanks!

---

_[View the full topic](https://discuss.elastic.co/t/how-to-setup-filebeat-with-basic-auth-for-logstash-output/36937)._
