Curl to watcher webhook

the body field needs to be a string right now.

However you can create a proper payload via a script in the transform of the webhook action, and then use the toJson mustache helper, which creates JSON. There is an example in the docs https://www.elastic.co/guide/en/x-pack/6.2/actions-webhook.html

1 Like