Can I create some sort of heartbeat type alert on Kibana that calls an API endpoint every minute and throws an alert if anything other than a HTTP200 response is recieved?
Can I create some sort of heartbeat type alert on Kibana that calls an API endpoint every minute and throws an alert if anything other than a HTTP200 response is recieved?
Share Improve this question asked Feb 11 at 12:10 runnerpaulrunnerpaul 7,32410 gold badges70 silver badges161 bronze badges1 Answer
Reset to default 0We generally setup heartbeat at pod/server level rather each API. Still, you can do it, but make sure that, to call the API you need to pass required request payload and need to take care of it's method type as well.
Use heartbeat.yml
to configure.
This link may help you:
https://www.elastic.co/guide/en/beats/heartbeat/current/configuring-howto-heartbeat.html