admin管理员组

文章数量:1415120

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

We 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

本文标签: Kibana alert on API endpointStack Overflow