# Proxy settings for http\_poller

**URL:** <https://discuss.elastic.co/t/proxy-settings-for-http-poller/185762>\
**Category:** Logstash\
**Created:** [June 14, 2019, 5:46am UTC](https://discuss.elastic.co/t/proxy-settings-for-http-poller/185762 "2019-06-14T05:46:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjabiulla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sjabiulla/32/48429_2.png) [@sjabiulla](https://discuss.elastic.co/u/sjabiulla)\
**Post date:** [June 14, 2019, 5:46am UTC](https://discuss.elastic.co/t/proxy-settings-for-http-poller/185762/1 "2019-06-14T05:46:03Z")

</div>

Hi,

I am using http\_poller input plugin in Logstash to monitor few url's. I am able to monitor the url's that are hosted on my local. I mean, anything with localhost, I'm able to connect using http\_poller. Anything on internet I wasn't able to connect initially, but then later when I added proxy settings I was able to connect the url's available on internet as well.

```
input {
  http_poller {
    urls => {
      ES => "http://localhost:9200"
    }
    request_timeout => 60
    schedule => { "every" => "10s"}
    codec => "json"
    metadata_target => "http_poller_metadata"
  }
  http_poller {
    urls => {
      "Google" => "https://www.google.com"
      "Outlook" => "https://outlook.office365.com/owa/"
      "Internal URL" => "Organizations Internal URL"
    }
    request_timeout => 60
    tags => website_healthcheck
    schedule => { "every" => "10s"}
    proxy => { host => "organization proxy url" port => 8080 scheme => "http" user => "..." password => "..."}
    metadata_target => "http_poller_metadata"
  }
}

```

I am not able to connect to the Internal URL that's mentioned in the above config. Usually by adding this proxy url in my chrome proxy settings, I am not able to open this Internal URL. In chrome proxy settings, I will add both proxy settings + I will add Internal URL host as an exception to not to use proxy server for this URL, and then I will be able to open this URL in browser. Can you please assist in getting connected to the Internal URL via http\_poller !

---

<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 12, 2019, 5:46am UTC](https://discuss.elastic.co/t/proxy-settings-for-http-poller/185762/2 "2019-07-12T05:46:16Z")

</div>

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