Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common github.com/elastic/beats/metricbeat/helper github.com/elastic/beats/libbeat/asset github.com/elastic/beats/metricbeat/mb github.com/elastic/beats/metricbeat/helper/elastic Standard library imports encoding/json fmt net/url strings