# How to run logstash perfectly when using authentication in elastic search x-pack

**URL:** <https://discuss.elastic.co/t/how-to-run-logstash-perfectly-when-using-authentication-in-elastic-search-x-pack/69521>\
**Category:** Elasticsearch\
**Created:** [December 20, 2016, 4:39am UTC](https://discuss.elastic.co/t/how-to-run-logstash-perfectly-when-using-authentication-in-elastic-search-x-pack/69521 "2016-12-20T04:39:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shilong](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@shilong](https://discuss.elastic.co/u/shilong)\
**Post date:** [December 20, 2016, 4:39am UTC](https://discuss.elastic.co/t/how-to-run-logstash-perfectly-when-using-authentication-in-elastic-search-x-pack/69521/1 "2016-12-20T04:39:56Z")

</div>

How to run logstash perfectly when using authentication in elastic search x-pack ?  
So far we are not able to write/input the data via logstash to the elasticsearch index when running x-pack since we connect the eleasticsearch with the security credential.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [December 20, 2016, 1:36pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-perfectly-when-using-authentication-in-elastic-search-x-pack/69521/2 "2016-12-20T13:36:00Z")

</div>

Have you been through that page? [https://www.elastic.co/guide/en/x-pack/current/logstash.html](https://www.elastic.co/guide/en/x-pack/current/logstash.html)

---

<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:** [January 17, 2017, 1:36pm UTC](https://discuss.elastic.co/t/how-to-run-logstash-perfectly-when-using-authentication-in-elastic-search-x-pack/69521/3 "2017-01-17T13:36:01Z")

</div>

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