Imports github.com/elastic/beats/v7/libbeat/common/schema github.com/elastic/beats/v7/libbeat/common/schema/mapstriface github.com/elastic/beats/v7/metricbeat/mb github.com/elastic/beats/v7/metricbeat/module/mongodb go.mongodb.org/mongo-driver/bson Standard library imports context fmt