# What username/password should I use for logstash?

**URL:** <https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [February 23, 2018, 11:07pm UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301 "2018-02-23T23:07:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrubin](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mrubin](https://discuss.elastic.co/u/mrubin)\
**Post date:** [February 23, 2018, 11:07pm UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/1 "2018-02-23T23:07:23Z")

</div>

I have a question about [https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html](https://www.elastic.co/guide/en/x-pack/current/security-getting-started.html). Is that applicable to Elastic Cloud as well? E.g. how do I set the password of the `logstash_system` user? Or should I create a new user through Kibana for use by logstash? Should that be the same user for monitoring vs uploading data? If I need to create any users, what roles do they need to have (for each of those two use-cases)?

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [February 25, 2018, 4:40pm UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/2 "2018-02-25T16:40:16Z")

</div>

Hi @mrubin,

X-Pack security is enabled on all Elasticsearch clusters hosted on Elastic Cloud, you do not need to configure or enable it.  
When you create a new cluster you will see an auto generated password for the default `elastic` user (you can also reset that password from the Elastic Cloud interface under the Cluster \>\> Security model). You can then use this set of credentials to login to kibana or use the REST api to create additional users, for your logstash instance for example, set the relevant permissions, etc.

For future questions about Elastic Cloud please follow instructions in the following link [Now Live! New Elastic Cloud Standard Support!](https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161).

This channel is meant for Elastic Cloud Enterprise, which is a different product.

Thanks!

---

<div class="post-metadata">

**Author:** ![mrubin](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mrubin](https://discuss.elastic.co/u/mrubin)\
**Post date:** [February 25, 2018, 4:56pm UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/3 "2018-02-25T16:56:43Z")

</div>

Thanks @zanbel! FYI I get a "Sorry, you don't have access to that topic!" when I visit the above link (for the Now Live topic).

Could you please point me to the page that you think has the clearest instructions for creating a logstash user via the REST api? Could you also tell me what the built-in `logstash_system` user/role (?) is? Am I suppose to use this?

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [February 25, 2018, 5:15pm UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/4 "2018-02-25T17:15:20Z")

</div>

@mrubin you should have access to view that topic. You should reach out to [support@elastic.co](http://mailto:support@elastic.co) to get it sorted so you can verify your a support contact in your Elastic Cloud account.

The default `logstash_system` role is already configured and you can then use [X-Pack security REST api](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/security-api.html) to [create a user](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/security-api-users.html) and assign it with the relevant role.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 26, 2018, 3:10am UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/5 "2018-02-26T03:10:02Z")

</div>

Please use this link for Elastic Cloud support [https://www.elastic.co/cloud/as-a-service/support](https://www.elastic.co/cloud/as-a-service/support)

---

<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:** [March 12, 2018, 3:10am UTC](https://discuss.elastic.co/t/what-username-password-should-i-use-for-logstash/121301/6 "2018-03-12T03:10:18Z")

</div>

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