Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
- OpenSearch v2.7.0
- ALMA9
- Safari / Firefox
Describe the issue:
I understand that Destinations have been deprecated, in favour of Notifications plugin. Now, I can see the deprecated destination under the Alerting and I want to delete it. According to the documentation (of the current release) there’s a DELETE API, however when trying to use it I get:
DELETE _plugins/_alerting/destinations/bDc7yIEB8OMekcTRynWQ
{
"error" : "Incorrect HTTP method for uri [/_plugins/_alerting/destinations/bDc7yIEB8OMekcTRynWQ?pretty=true] and method [DELETE], allowed: [GET]",
"status" : 405
}
Unfortunately I guess this deprecated Destination is producing INFO logs like:
Detected cluster change event for destination migration
as found on the codebase here.
Essentially my goal is to get rid of that log being produced constantly…
I have found this on the documentation:
Q: What happens if any destinations fail to migrate? A: If a destination failed to migrate, the monitor will continue using it until the monitor is migrated to a notification channel. You don’t need to do anything in this case.
That does not sound reassuring, as I don’t see how the corrupted destination will ever get transformed into Notification channel. And since it is never fixed, I’ll always be getting that above log.
Is there some kind of disruptive way to delete that Destination?