Elasticsearch debug status

This should be a struct I think.