# Input csv from website

**URL:** <https://discuss.elastic.co/t/input-csv-from-website/222765>\
**Category:** Logstash\
**Created:** [March 9, 2020, 4:34pm UTC](https://discuss.elastic.co/t/input-csv-from-website/222765 "2020-03-09T16:34:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk2](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@elk2](https://discuss.elastic.co/u/elk2)\
**Post date:** [March 9, 2020, 4:34pm UTC](https://discuss.elastic.co/t/input-csv-from-website/222765/1 "2020-03-09T16:34:27Z")

</div>

I would like to parse a csv file from a website with logstash and the results put into elasticsearch.  
Something like this:

```
input {
  http_poller {
    urls => {
       test => {
        method => get
        url => "https://api-metrics.flurry.com/public/v1/data/....&format=csv"
                 
      }
    }
    request_timeout => 60
    schedule => { every => "1h"}
    codec => "plain"
    metadata_target => "data"
  }
}

output {
  stdout { codec => rubydebug }
}

```

Any suggest?

---

<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:** [April 6, 2020, 4:34pm UTC](https://discuss.elastic.co/t/input-csv-from-website/222765/2 "2020-04-06T16:34:40Z")

</div>

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