# Logstash password and username authentication

**URL:** https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786
**Category:** Logstash
**Created:** [May 27, 2022, 9:24am UTC](https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786 "2022-05-27T09:24:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Thuunder7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thuunder7/32/97482_2.png) [@Thuunder7](https://discuss.elastic.co/u/Thuunder7)
#### Post date: [May 27, 2022, 9:24am UTC](https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786/1 "2022-05-27T09:24:53Z")

</div>

Hi guys,

I was searching in the documentation a way to authenticate a client, for example a metricbeat, into a logstash pipeline using an username and a password, but i couldn't find any option for this.

Is there any configuration to make this possible?

Regards,

---

<div class="post-metadata">

### Author: ![RLPowellJr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rlpowelljr/32/97049_2.png) [@RLPowellJr](https://discuss.elastic.co/u/RLPowellJr)
#### Post date: [May 27, 2022, 12:55pm UTC](https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786/2 "2022-05-27T12:55:00Z")

</div>

I looked in the metricbeat.reference.yml file on a recent install of Metricbeat 8.2, and the Logstash output section has a lot of entries for certificates and related parameters, but nothing for username & password. Back in the 7.x versions there was support for username & password, but maybe that's been deprecated.

---

<div class="post-metadata">

### Author: ![Thuunder7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thuunder7/32/97482_2.png) [@Thuunder7](https://discuss.elastic.co/u/Thuunder7)
#### Post date: [May 30, 2022, 2:15pm UTC](https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786/3 "2022-05-30T14:15:12Z")

</div>

Yep, i think those options are gone from the recent versions.  
Thank you @RLPowellJr

---

<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: [June 27, 2022, 2:15pm UTC](https://discuss.elastic.co/t/logstash-password-and-username-authentication/305786/4 "2022-06-27T14:15:55Z")

</div>

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