# Collecting data from instagramm using logstash

**URL:** https://discuss.elastic.co/t/collecting-data-from-instagramm-using-logstash/210021
**Category:** Logstash
**Created:** [November 30, 2019, 8:27am UTC](https://discuss.elastic.co/t/collecting-data-from-instagramm-using-logstash/210021 "2019-11-30T08:27:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar4/32/48326_2.png) [@kumar4](https://discuss.elastic.co/u/kumar4)
#### Post date: [November 30, 2019, 8:27am UTC](https://discuss.elastic.co/t/collecting-data-from-instagramm-using-logstash/210021/1 "2019-11-30T08:27:25Z")

</div>

hi, i san in stackoverflow that ti is possible to perfome data collecting from instagram, using this logstash conf:  
Instagram [has an API](https://www.instagram.com/developer/) so you can definitely attempt something with the [`http_poller`](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-http_poller.html) plugin.

Something like this:

```auto
input {
   http_poller {
      urls => {
         search => {
            method => get
            url => "https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=ACCESS-TOKEN"
         }
      }
      request_timeout => 60
      interval => 60
      codec => "json"
   }
}
output {
   stdout {
       codec => rubydebug
   }
}

```

and want to know if this is correct and if someone tried it, i found this script in this stockoverflow utl:

> <https://stackoverflow.com/questions/38864201/logstash-input-plugin-for-instagram-streaming-api>

---

<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: [December 28, 2019, 8:27am UTC](https://discuss.elastic.co/t/collecting-data-from-instagramm-using-logstash/210021/2 "2019-12-28T08:27:28Z")

</div>

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