# Logstash http poller Cookie Authentication

**URL:** <https://discuss.elastic.co/t/logstash-http-poller-cookie-authentication/130741>\
**Category:** Logstash\
**Created:** [May 6, 2018, 10:41am UTC](https://discuss.elastic.co/t/logstash-http-poller-cookie-authentication/130741 "2018-05-06T10:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Morelli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_morelli/32/45072_2.png) [@Mario\_Morelli](https://discuss.elastic.co/u/Mario_Morelli)\
**Post date:** [May 6, 2018, 10:41am UTC](https://discuss.elastic.co/t/logstash-http-poller-cookie-authentication/130741/1 "2018-05-06T10:41:07Z")

</div>

Hi There

I would just like some pointers regarding using the http poller plugin  
Logstash 5 & 6 tested with same issue

We have an application with a REST API, when you open up the URL it pops up with an authentication where you input username & Password, after which the API provides a response Cookie called a "secureModifyToken" which it uses for the session authentication going forward.  
It brings back 3 Cookies, JSESSIONID,LWSSOCookie and the secureModifyToken Cookie.

In the output it only shows the first cookie and not the other 2

The output keeps on erroring out saying it needs http authentication  
JBWEB000121: This request requires HTTP authentication

Username and password has been set as well

Just wondering if anyone has some ideas

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:** [June 3, 2018, 10:41am UTC](https://discuss.elastic.co/t/logstash-http-poller-cookie-authentication/130741/2 "2018-06-03T10:41:09Z")

</div>

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