Does anyone have this working? I'm using heartbeat 7.4.0 with the following config, however the http.response.body.content field in Elastic is empty, and interestingly the http.response.body.bytes is 0:
- type: http
schedule: '@every 30s'
- description: check status
A curl to the /status endpoint returns:
What I would like to do is add the "version" JSON field and value into the document in Elastic.
The check response above works with the JSON condition "status" = "running", so the JSON object is there and being parsed. All I would like is to add that JSON object into a root field.