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