# Http poller unable to login

**URL:** <https://discuss.elastic.co/t/http-poller-unable-to-login/125530>\
**Category:** Logstash\
**Created:** [March 26, 2018, 2:22am UTC](https://discuss.elastic.co/t/http-poller-unable-to-login/125530 "2018-03-26T02:22:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [March 26, 2018, 2:22am UTC](https://discuss.elastic.co/t/http-poller-unable-to-login/125530/1 "2018-03-26T02:22:42Z")

</div>

Hi,

The url I'm trying to access looks like this: `192.168.1.1/web.cgi?netLoggedInUser=1`. However the response I get is `loggedin: "false"`.

I think this is because the login page is not on the first page but on a separate page and after logging in the query changes so simply putting the username/password in the logstash config doesn't work.

I have no problems with the username/password option on a web page that first prompts for login credentials so its probably a combination of the website being kinda awkward and the plugin not expecting that kind of behavior.

Is there any way to work around 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:** [April 23, 2018, 2:23am UTC](https://discuss.elastic.co/t/http-poller-unable-to-login/125530/2 "2018-04-23T02:23:21Z")

</div>

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