# Logstash -\> Elastic search login Error

**URL:** <https://discuss.elastic.co/t/logstash-elastic-search-login-error/169219>\
**Category:** Logstash\
**Created:** [February 20, 2019, 1:22pm UTC](https://discuss.elastic.co/t/logstash-elastic-search-login-error/169219 "2019-02-20T13:22:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![macdadi112](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@macdadi112](https://discuss.elastic.co/u/macdadi112)\
**Post date:** [February 20, 2019, 1:22pm UTC](https://discuss.elastic.co/t/logstash-elastic-search-login-error/169219/1 "2019-02-20T13:22:43Z")

</div>

I am trying to log into elasticsearch using the logstash user.

The deployment is done via kubernetes and we have logstash pod running a pod.

I log into the logstash and try the following:

Curl -k -u : [https://elasticsearch:9200](https://elasticsearch:9200)

I get a failure message but can run the command using elastic config.

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:** [March 20, 2019, 1:22pm UTC](https://discuss.elastic.co/t/logstash-elastic-search-login-error/169219/2 "2019-03-20T13:22:50Z")

</div>

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