Imports github.com/spf13/cobra github.com/elastic/beats/libbeat/testing github.com/elastic/beats/libbeat/beat github.com/elastic/beats/metricbeat/beater github.com/elastic/beats/libbeat/cmd/instance Standard library imports fmt os