Heartbeat (webservice response)

First my ELK stack version is 7.6.2
My approach is save the heartbeat logs and search in the body.content filed for status code , so i made the following config

  • type: http
    id: my-webservice
    name: my-webservice
    urls: ["x.x.x.x"]
    check.request.method: POST
    soapaction: 'Get'
    content-type: 'text/xml; charset=utf-8'
    check.request.body: 'soap request'
    response.include_body: always
    response.include_body_max_bytes: 2048
    • decode_json_fields:
      fields: ["http.response.body.content"]
      schedule: '@every 5s'

now i can check the xml for the response and want to validate for my service response not the web status (not status 200 my service response like 35) in defined tag

how can i do this final step

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.