We use Elastic watcher webhook actions to post event information to an external system using an API. This works fine most of the time but there are occasions when the action fails, seemingly due to the endpoint not responding, e.g.
"actions": [
{
"id": "*myactionid*",
"type": "webhook",
"status": "failure",
"error": {
"root_cause": [
{
"type": "no_http_response_exception",
"reason": "*myhost:80* failed to respond"
}
],
"type": "no_http_response_exception",
"reason": "*myhost:80* failed to respond"
}
}
]
Our API endpoint is very reliable and we will keep investigating whether the volume/payload of API calls may be an issue.
Regardless, it would be very useful if the webhook action could support a retry mechanism.
By specifying the number of retries and a sleep period between retries, we could mitigate temporary glitches in the watcher -> API endpoint communications.
Does anyone have the same issue? Are there plans to update the webhook watcher action?
Thanks