Imports github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/common github.com/pkg/errors Standard library imports encoding/json fmt io/ioutil