# Beats basic authentication with Nginx?

**URL:** <https://discuss.elastic.co/t/beats-basic-authentication-with-nginx/122253>\
**Category:** Beats\
**Created:** [March 2, 2018, 12:43pm UTC](https://discuss.elastic.co/t/beats-basic-authentication-with-nginx/122253 "2018-03-02T12:43:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanderer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wanderer/32/55140_2.png) [@Wanderer](https://discuss.elastic.co/u/Wanderer)\
**Post date:** [March 2, 2018, 12:43pm UTC](https://discuss.elastic.co/t/beats-basic-authentication-with-nginx/122253/1 "2018-03-02T12:43:04Z")

</div>

Is it possible to use the authentication settings in a beat.yml to authenticate to nginx before sending into Elasticsearch?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [March 3, 2018, 11:42pm UTC](https://discuss.elastic.co/t/beats-basic-authentication-with-nginx/122253/2 "2018-03-03T23:42:14Z")

</div>

If you mean basic auth against the Nginx service, the answer is yes. The main problem is that we lack documentation on it. See [https://github.com/elastic/beats/issues/6493](https://github.com/elastic/beats/issues/6493)

---

<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:** [April 1, 2018, 1:42am UTC](https://discuss.elastic.co/t/beats-basic-authentication-with-nginx/122253/3 "2018-04-01T01:42:32Z")

</div>

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