You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"error":"Incorrect HTTP method for uri [/_plugins/_alerting/destinations] and method [POST], allowed: [GET]","status":405}
For 1.x it used be /_opendistro/_alerting/destinations and works fine but /_plugins/_alerting/destinations throws 405 error. Is this a bug from alerting API?
Oh the documentation is not updated. Alerting destinations have been deprecated in 2.0 and we do not allow the creation of new alerting destinations. The user needs to use Notification channels instead.
What is the bug?
Following the documentation to create an alerting destination https://opensearch.org/docs/latest/observing-your-data/alerting/api/#create-destination, I have the following command
However I get the following error:
For 1.x it used be
/_opendistro/_alerting/destinations
and works fine but/_plugins/_alerting/destinations
throws 405 error. Is this a bug from alerting API?Do you have any additional context?
I’m working on to adding 2.x support for terraform provider opensearch-project/terraform-provider-opensearch#62 and found this issue.
Related Issues:
opensearch-project/terraform-provider-opensearch#30
opensearch-project/documentation-website#1994
https://forum.opensearch.org/t/unable-to-create-alerting-destination-in-v2-1-0/10479
The text was updated successfully, but these errors were encountered: