Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb github.com/elastic/beats/metricbeat/schema github.com/elastic/beats/metricbeat/schema/mapstrstr Standard library imports bufio fmt io net/http net/url regexp strings