Hi
I want to make an alert(watcher) with multiple action.
For example, I need to call more than two hosts(with different path and port) so I need to use my_webhook
according to the bellow page:
"actions" : {
"my_webhook" : {
"transform" : { ... },
"throttle_period" : "5m",
"webhook" : {
"method" : "POST",
"host" : "mylisteningserver",
"port" : 9200,
"path": ":/{{ctx.watch_id}}",
"body" : "{{ctx.watch_id}}:{{ctx.payload.hits.total}}"
}
}
}
But unfortunately, I faced with a Duplicate key "Webhook" error.
Here is the deal, how can I use "webhook" feature with two different destination?