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