# Access Denied to ES

**URL:** https://discuss.elastic.co/t/access-denied-to-es/61427
**Category:** Logstash
**Created:** [September 23, 2016, 11:49pm UTC](https://discuss.elastic.co/t/access-denied-to-es/61427 "2016-09-23T23:49:07Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![robertchen117](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@robertchen117](https://discuss.elastic.co/u/robertchen117)
#### Post date: [November 29, 2016, 7:20pm UTC](https://discuss.elastic.co/t/access-denied-to-es/61427/5 "2016-11-29T19:20:25Z")

</div>

trying to add user and password to logstash, it even does not recognize:

> [@Add user and password and failed](https://discuss.elastic.co/t/add-user-and-password-and-failed/67525):
>
> I followed this doc after I installed x-pack. And I update my logstash.conf with user and password. the error is: [LogStash::Runner] FATAL logstash.runner - The given configuration is invalid. Reason: Expected one of #, { at line 6, column 8 (byte 81) after input { input { beats { host =\> "10.8.8.53" port =\> "5044" } user =\> logstash\_internal password =\> Password1 } I followed this doc: [https://www.elastic.co/guide/en/x-pack/current/logstash.html](https://www.elastic.co/guide/en/x-pack/current/logstash.html) input { ... user =\> logstash\_inter…

---

_[View the full topic](https://discuss.elastic.co/t/access-denied-to-es/61427)._
