# Http\_poller input plugin: please no http\_poller\_metadata

**URL:** https://discuss.elastic.co/t/http-poller-input-plugin-please-no-http-poller-metadata/238200
**Category:** Logstash
**Created:** [June 23, 2020, 6:54am UTC](https://discuss.elastic.co/t/http-poller-input-plugin-please-no-http-poller-metadata/238200 "2020-06-23T06:54:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![smm](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@smm](https://discuss.elastic.co/u/smm)
#### Post date: [June 23, 2020, 6:54am UTC](https://discuss.elastic.co/t/http-poller-input-plugin-please-no-http-poller-metadata/238200/1 "2020-06-23T06:54:08Z")

</div>

Hi there,  
is there a 'trick' to disable collecting the http\_poller\_metadata fields when using this plugin? I am only interested in the acutal data I get.  
Right now I am doing this:  
http\_poller {  
urls =\> {  
url =\> "[https://api.met.no/weatherapi/locationforecast/1.9/.json?lat=51.2217&lon=6.7762](https://api.met.no/weatherapi/locationforecast/1.9/.json?lat=51.2217&lon=6.7762)"  
}  
request\_timeout =\> 60  
schedule =\> { every =\> "1m"}  
codec =\> "json"  
metadata\_target =\> "http\_poller\_metadata"  
}  
kind regards  
Stefano

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [June 23, 2020, 1:32pm UTC](https://discuss.elastic.co/t/http-poller-input-plugin-please-no-http-poller-metadata/238200/2 "2020-06-23T13:32:27Z")

</div>

If you do not set the metadata\_target option then it will use the default, which is '@metadata'. In that case the metadata will not be stored with the event.

---

<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 21, 2020, 1:32pm UTC](https://discuss.elastic.co/t/http-poller-input-plugin-please-no-http-poller-metadata/238200/3 "2020-07-21T13:32:45Z")

</div>

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