Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb github.com/elastic/beats/metricbeat/mb/parse Standard library imports encoding/json fmt io net/http strconv