Hi,
I got the basic logstash-http-output plugin working to send our kafka events to webhook endpoint.
The output.conf looks like this
output {
http {
url => "https://oss-flow.test1.com/hooks/tip-alert"
http_method => "post"
format => "json"
headers => ["Authorization", "<xxx>"]
}
}
Is there a way where I can tell logstash to re-try different endpoint https://oss-flow.test2.com/hooks/tip-alert upon receving 5xx code after couple of retries against https://oss-flow.test1.com/hooks/tip-alert . Thanks!