# Http\_poller logstash input plugin : socks5

**URL:** <https://discuss.elastic.co/t/http-poller-logstash-input-plugin-socks5/309333>\
**Category:** Logstash\
**Created:** [July 11, 2022, 3:16pm UTC](https://discuss.elastic.co/t/http-poller-logstash-input-plugin-socks5/309333 "2022-07-11T15:16:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toog/32/94659_2.png) [@toog](https://discuss.elastic.co/u/toog)\
**Post date:** [July 11, 2022, 3:16pm UTC](https://discuss.elastic.co/t/http-poller-logstash-input-plugin-socks5/309333/1 "2022-07-11T15:16:14Z")

</div>

I try to use http\_poller to request url but i need to use a dynamic ssh forwarding.  
How i can specify to http\_poller to use the socks5 proxy to resolve the url request ?

i try this config but i have this message

http\_request\_failure.error =\> socks5 protocol is not supported

```auto
http_poller {
    urls => {
        my-server => "https://myserver.localdomain/webapp/#/home"
    }
    truststore => "/home/downloaded_truststore.jks"
    truststore_password => "mycredential"
    request_timeout => 60
    # Supports "cron", "every", "at" and "in" schedules by rufus scheduler
    #schedule => { cron => "* * * * * UTC"}
    proxy => "socks5://127.0.0.1:8282"
    schedule => { every => "10m"}
    request_timeout => 60
    codec => "plain"
    # A hash of request metadata info (timing, response headers, etc.) will be sent here
    metadata_target => "http_poller_metadata"
    type => "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:** [August 8, 2022, 3:16pm UTC](https://discuss.elastic.co/t/http-poller-logstash-input-plugin-socks5/309333/2 "2022-08-08T15:16:23Z")

</div>

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