Elasticsearch debug status

You appear to have indented with spaces, run make simplify on the code.