Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common gopkg.in/mgo.v2 github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb gopkg.in/mgo.v2/bson Standard library imports fmt time