# 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:** 7

<div class="post-metadata">

### Author: ![aparadka](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@aparadka](https://discuss.elastic.co/u/aparadka)
#### Post date: [December 1, 2016, 11:08am UTC](https://discuss.elastic.co/t/access-denied-to-es/61427/7 "2016-12-01T11:08:23Z")

</div>

how to do that? i followed the steps on that link and i'm getting this error now

> [@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)._
