Imports github.com/pkg/errors github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/paths github.com/elastic/beats/libbeat/monitoring github.com/elastic/beats/libbeat/logp github.com/mitchellh/hashstructure Standard library imports flag fmt os path/filepath strings sync time