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