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