Imports github.com/golang/glog github.com/elastic/go-elasticsearch github.com/elastic/go-elasticsearch/esapi Standard library imports bytes context encoding/json flag fmt os os/signal strconv strings syscall time