Imports github.com/elastic/beats/libbeat/paths github.com/elastic/beats/libbeat/monitoring github.com/elastic/beats/libbeat/common/file github.com/elastic/beats/filebeat/input/file github.com/elastic/beats/libbeat/logp Standard library imports encoding/json fmt os path/filepath sync time