The check.response.body check is quite limited right now. The body must match byte by byte.
Roadmap to Heartbeat GA contains an item about enhanced validators using conditionals and other checks. e.g. regex on body or json response must match subset of configured fields and such.
Thanks for that, is there a way of seeing what heartbeat is returning.
Just thinking in the short term until the feature is fully available, if I was able to see what heartbeat finds in the response body it may help.
no, heartbeat is not returning the response body, to keep the events to be generated somewhat 'small'. The logstash http_poller or metricbeat http module might be alternative solutions I think.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.