Imports github.com/elastic/beats/metricbeat/mb/parse github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb github.com/lib/pq github.com/pkg/errors Standard library imports database/sql fmt net/url os strconv strings