# Logstash Startup 401 error on Windows 10

**URL:** <https://discuss.elastic.co/t/logstash-startup-401-error-on-windows-10/307806>\
**Category:** Logstash\
**Created:** [June 21, 2022, 9:55pm UTC](https://discuss.elastic.co/t/logstash-startup-401-error-on-windows-10/307806 "2022-06-21T21:55:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AE2000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ae2000/32/98478_2.png) [@AE2000](https://discuss.elastic.co/u/AE2000)\
**Post date:** [June 21, 2022, 9:55pm UTC](https://discuss.elastic.co/t/logstash-startup-401-error-on-windows-10/307806/1 "2022-06-21T21:55:32Z")

</div>

I'm installing ELK on my windows 10 workstation and I've gone through the steps to install all three; although there was a few issues with authorization during the process, Elasticsearch and Kibana are working perfectly fine. I just moved onto Logstash, I have everything installed and I've created a .conf file that should allow me to create messages from terminal but I'm getting a 401 error code whenever I try to run the .bat file alongside my .conf file. The entire process is attached below.

I understand that it's having a problem connecting to Elasticsearch but I've tried everything I could with trying different configurations for the .yml files. I've also tried to change the password to the logstash-user as that seemed to fix my issue with kibana but it doesn't allow me to change the password this time (picture attached).

 ![logstash_error](https://us1.discourse-cdn.com/elastic/original/3X/8/2/825ae98e4f8009e7a36f782ce193d5ea78212b8b.png)

 ![logstash-user-error](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef36dbb62b195b2c98ede89dadc807f8ba44e8aa.png)

Any help would be appreciated, as I'm not sure what I've missed.

Thanks!

---

<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:** [July 19, 2022, 9:56pm UTC](https://discuss.elastic.co/t/logstash-startup-401-error-on-windows-10/307806/2 "2022-07-19T21:56:09Z")

</div>

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