# Logstash 8.1 configuration with elasticsearch

**URL:** <https://discuss.elastic.co/t/logstash-8-1-configuration-with-elasticsearch/302533>\
**Category:** Logstash\
**Created:** [April 16, 2022, 2:53am UTC](https://discuss.elastic.co/t/logstash-8-1-configuration-with-elasticsearch/302533 "2022-04-16T02:53:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank\_rib](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_rib/32/104372_2.png) [@frank\_rib](https://discuss.elastic.co/u/frank_rib)\
**Post date:** [April 16, 2022, 2:53am UTC](https://discuss.elastic.co/t/logstash-8-1-configuration-with-elasticsearch/302533/1 "2022-04-16T02:53:43Z")

</div>

Hello every body,

This is my first configuraton of an elk stack 8.1 with autoconfiguration enabled.  
My cluster is composed of 3 Elasticsearch nodes and a kibana master.  
I want to configure logstash to index logs to Elasticsearch. My question is how can i add the authentication part of Elasticsearch at the output of the logstash parser.  
KNOWING that Elasticsearch uses keystore to set the password.

Best regards

---

<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:** [May 14, 2022, 2:54am UTC](https://discuss.elastic.co/t/logstash-8-1-configuration-with-elasticsearch/302533/2 "2022-05-14T02:54:32Z")

</div>

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