Imports github.com/elastic/beats/v7/metricbeat/helper github.com/elastic/beats/v7/metricbeat/mb github.com/elastic/beats/v7/metricbeat/mb/parse github.com/elastic/elastic-agent-libs/logp github.com/elastic/elastic-agent-libs/mapstr github.com/pkg/errors Standard library imports encoding/json