Imports github.com/elastic/beats/metricbeat/mb/parse github.com/mitchellh/mapstructure github.com/pkg/errors github.com/gocarina/gocsv Standard library imports bytes io io/ioutil net net/http net/url os strings encoding/csv