runnerpaul
runnerpaul

Reputation: 7236

Kibana alert on API endpoint

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?

Upvotes: 2

Views: 20

Answers (1)

Joy
Joy

Reputation: 631

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

Upvotes: 0

Related Questions