Input csv from website

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?

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