When testing webhook delivery to the Filebeat http_endpoint and requesting a delivery acknowledgement, it can take many seconds for the request to complete. elastic/stream has a hard-coded HTTP timeout of 1s which isn't long enough. So make the timeout configurable.
When testing webhook delivery to the Filebeat http_endpoint and requesting a delivery acknowledgement, it can take many seconds for the request to complete. elastic/stream has a hard-coded HTTP timeout of 1s which isn't long enough. So make the timeout configurable.
stream/internal/output/webhook/webhook.go
Line 35 in 2969e28