# Healthcheck in logstash-http-plugin without authentication

**URL:** <https://discuss.elastic.co/t/healthcheck-in-logstash-http-plugin-without-authentication/108071>\
**Category:** Logstash\
**Created:** [November 17, 2017, 6:17am UTC](https://discuss.elastic.co/t/healthcheck-in-logstash-http-plugin-without-authentication/108071 "2017-11-17T06:17:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziaur25](https://avatars.discourse-cdn.com/v4/letter/z/e9a140/32.png) [@ziaur25](https://discuss.elastic.co/u/ziaur25)\
**Post date:** [November 17, 2017, 6:17am UTC](https://discuss.elastic.co/t/healthcheck-in-logstash-http-plugin-without-authentication/108071/1 "2017-11-17T06:17:50Z")

</div>

I have configured my logstash with below configuration. With this, I am able to stream logs from cloudfoundry env. But in my case, I want to use a vendor loadbalancer in place for my logstash running in different machines. For which I need to provide them healthcheck url where they poll to get 200 response. Since in my configuration I use basic authentication, the loadbalancer could not validate my healthcheck.

My question is, can I have the basic authentication in place for cloudfoundry application to access my logstash and have a healthcheck end point with same port with any authentication. Please suggest

http{  
type =\> "pcf\_logs"  
port =\> MYPORT  
user =\> MYUID  
password =\> MYPWD  
ssl =\> true  
keystore =\> "mykeystore.jks"  
keystore\_password =\> "key-pass"  
}

---

<div class="post-metadata">

**Author:** ![ziaur25](https://avatars.discourse-cdn.com/v4/letter/z/e9a140/32.png) [@ziaur25](https://discuss.elastic.co/u/ziaur25)\
**Post date:** [November 27, 2017, 9:24am UTC](https://discuss.elastic.co/t/healthcheck-in-logstash-http-plugin-without-authentication/108071/2 "2017-11-27T09:24:31Z")

</div>

Can anyone respond to this?

---

<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:** [December 25, 2017, 9:24am UTC](https://discuss.elastic.co/t/healthcheck-in-logstash-http-plugin-without-authentication/108071/3 "2017-12-25T09:24:50Z")

</div>

Closed on December 25, 2017, 9:24am UTC

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