Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/ml-importer github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/paths Standard library imports bytes encoding/json flag fmt io/ioutil os path/filepath runtime strings text/template