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