Imports github.com/stretchr/testify/assert github.com/elastic/beats/libbeat/common github.com/elastic/beats/metricbeat/mb github.com/elastic/beats/metricbeat/mb/module Standard library imports encoding/json flag fmt io/ioutil os testing time