refactored query to ES in Helth Status Report