Hi - could you provide some clarification on above. I am trying to set up a custom webhook for Pager Duty from Kibana UI - note this is an elasticsearch domain running in AWS for which the Alerting feature was available recently, and AWS direct us to Opendistro for further info.
In Alerting - Destinations - ‘Edit Destination’, I can either;
define endpoint by URL
Define endpoint by custom attributes URL
How would I compose the webhook URL needed in the ‘define endpoint by url’ field? I can send a test event using;
For the ‘in message body of action’ part - can you tell me where to enter this in the Kibana UI? The only place I can see ‘actions’ are within the trigger of the monitor, where you can edit the ‘message’ - is this correct?
I have removed the default ctx templates and replaced with ‘{ “service_key”: “”, “event_type”: “trigger”, “description”: “pd-test” }’. I have then run the ‘Send test message’, observing the results using developer tools - network in chrome. When I run this using AWS SNS (which is an integrated destination) it works, however using ^this method I get;
“output”:{},“throttled”:false,“error”:"java.io.IOException: Failed: HttpResponseProxy{HTTP/1.1 400 Bad Request
Please can you advise where I need to enter the parameters in the Kibana UI?