# Error "Panic in job" - Unable to monitor my service

**URL:** <https://discuss.elastic.co/t/error-panic-in-job-unable-to-monitor-my-service/225498>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [March 28, 2020, 3:47pm UTC](https://discuss.elastic.co/t/error-panic-in-job-unable-to-monitor-my-service/225498 "2020-03-28T15:47:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![luok0](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@luok0](https://discuss.elastic.co/u/luok0)\
**Post date:** [March 30, 2020, 4:13pm UTC](https://discuss.elastic.co/t/error-panic-in-job-unable-to-monitor-my-service/225498/5 "2020-03-30T16:13:59Z")

</div>

Thanks. 6.8.1 works though, failed with response body check when I uncommented in yml.

I understand from below case that `check.response.body` is to match the entire response body. This works great for simple examples however doesn't work when we only want to find a small string in a large body. Was the enhancement introduced?

> [@Heartbeat: http check.response](https://discuss.elastic.co/t/heartbeat-http-check-response/86219):
>
> Hi, I am having an issue using heartbeat, specifically check.response.body I have the following heartbeat.yml heartbeat.monitors: - type: http # List or urls to query urls: ["http://localhost:8090/base/status.json"] # request details: check.request: method: GET check.response: body: '{"abc":"123"}' # Configure task schedule schedule: '@every 10s' It always returns: "UP": false "error": "type": "validate" "error": "message": "body mismatch" If I replace: check.response…

---

_[View the full topic](https://discuss.elastic.co/t/error-panic-in-job-unable-to-monitor-my-service/225498)._
