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