Update sensu elasticsearch queries for new version

Our old structure of query no longer works so I have updated it.