Error in sending datagram while using UDP handler


#1

I have written udp handler to send the event alerts to the webhook url as below :

{
“handlers”: {
“example_udp_handler”: {
“type”: “udp”,
“timeout”: 60,
“socket”: {
“host”: “https://webhook.site/7ecc7665-10d7-4792-99f8-23e77c1b9b51”,
“bind”: “0.0.0.0”,
“port”: 80
}
}
}
}

In sensu-server.log, I am receiving error as error":“error in sending datagram”.

Please check and help me where iam doing wrong.