# Help with http http\_poller input plugin

**URL:** <https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226>\
**Category:** Logstash\
**Created:** [May 18, 2021, 1:07am UTC](https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226 "2021-05-18T01:07:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeromeat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeromeat/32/87195_2.png) [@jeromeat](https://discuss.elastic.co/u/jeromeat)\
**Post date:** [May 18, 2021, 1:07am UTC](https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226/1 "2021-05-18T01:07:25Z")

</div>

I can pull json data using the following curl command successfully:

`curl -H "Api-Token: xxxxxxxxxx" -H "Api-Secret: xxxxxxxxxxxxxxx" https://site.cyz10.local:443/api/v1/tags?page=1&page_size=10&type=ip`

Below is the config I have created and seems to run without any errors but I'm not seeing the data populate into the index although the index gets created:

```
input {
  http_poller {
      urls => {
	    urlname => "https://site.cyz10.local:443/api/v1/tags?page=1&page_size=10&type=ip"
	      headers => {
	         Accept => "application/json"
	         API-Token => "xxxxxxxxxx"
	         API-Secret => "xxxxxxxxxx"
	                 }
	           }      
	         }
	   }

	request_timeout => 60
	#schedule => { every => "20s"}
	codec => "json"
        metadata_target => "http_poller_metadata"
      
  }

}

output {
	elasticsearch {
	    hosts => ["localhost:9200"]
	    index => "logstash_http_poller"
}
	stdout { 
		codec => rubydebug 
  }
}

```

Any help with this would be much appreciated. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jeromeat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeromeat/32/87195_2.png) [@jeromeat](https://discuss.elastic.co/u/jeromeat)\
**Post date:** [May 20, 2021, 3:26am UTC](https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226/2 "2021-05-20T03:26:31Z")

</div>

Bumping for help!!!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2021, 3:28am UTC](https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226/3 "2021-05-20T03:28:11Z")

</div>

What does stdout show?

---

<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 17, 2021, 3:28am UTC](https://discuss.elastic.co/t/help-with-http-http-poller-input-plugin/273226/4 "2021-06-17T03:28:45Z")

</div>

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