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