# After installing x-pack on ELK, Logstash not create index to elasticsearch

**URL:** <https://discuss.elastic.co/t/after-installing-x-pack-on-elk-logstash-not-create-index-to-elasticsearch/131106>\
**Category:** Logstash\
**Created:** [May 9, 2018, 6:13am UTC](https://discuss.elastic.co/t/after-installing-x-pack-on-elk-logstash-not-create-index-to-elasticsearch/131106 "2018-05-09T06:13:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [May 9, 2018, 7:31am UTC](https://discuss.elastic.co/t/after-installing-x-pack-on-elk-logstash-not-create-index-to-elasticsearch/131106/4 "2018-05-09T07:31:42Z")

</div>

You need to set credentials so that the [Elasticsearch output plugin](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html) of Logstash can authenticate to Elasticsearch. I shared the link to the documentation for that above

> [@ikakavas](#):
>
> You really should not use the elastic super user for the Elasticsearch output plugin of Logstash. We have [detailed instructions in our documentation](https://www.elastic.co/guide/en/logstash/current/ls-security.html) for how to setup a dedicated user for that purpose.

---

_[View the full topic](https://discuss.elastic.co/t/after-installing-x-pack-on-elk-logstash-not-create-index-to-elasticsearch/131106)._
