Imports github.com/elastic/beats/libbeat/beat github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/publisher github.com/elastic/beats/libbeat/publisher/queue github.com/stretchr/testify/assert Standard library imports bufio flag fmt os sync testing time