Imports github.com/elastic/beats/libbeat/common/file github.com/elastic/beats/libbeat/paths github.com/pkg/errors go.uber.org/zap go.uber.org/zap/zapcore go.uber.org/zap/zaptest/observer Standard library imports flag fmt io/ioutil log log/syslog os path/filepath strings sync/atomic unsafe