opensearch-project / alerting

📟 Get notified when your data meets certain conditions by setting up monitors, alerts, and notifications
https://opensearch.org/docs/latest/monitoring-plugins/alerting/index/
Apache License 2.0
58 stars 99 forks source link

[BUG] - Can't select Channel notification #1550

Open ggt opened 1 month ago

ggt commented 1 month ago

After a lot of updates, i have an issue with the latest 2.14.0, i can't select notification i get a 400 error. Channels are visible in channel tab but not in the alerting/monitor item.

I give you some screenshots to explain the issue. image

image

SOLUTION: it works when i rewrite url from https://127.0.0.1:5601/api/notifications/get_configs?from_index=0&max_items=5000&sort_field=name&sort_order=asc -> https://127.0.0.1:5601/api/notifications/get_configs?from_index=0&max_items=10&query=&config_type=slack&config_type=email&config_type=chime&config_type=microsoft_teams&config_type=webhook&config_type=sns&sort_field=name&sort_order=asc

(it seems you forgot some parameters!)

image

Have a nice day!

huyaboo commented 1 month ago

@opensearch-project/admin Could you please move this to the Alerting repo?

mjk-141 commented 1 month ago

Hello. I'm also stuck with the same issue, so could you explain how to change the URL from https://127.0.0.1:5601/api/notifications/get_configs?from_index=0&max_items=5000&sort_field=name&sort_order=asc to : https://127.0.0.1:5601/api/notifications/get_configs?from_index=0&max_items=10&query=&config_type=slack&config_type=email&config_type=chime&config_type=microsoft_teams&config_type=webhook&config_type=sns&sort_field=name&sort_order=asc

ggt commented 1 month ago

You just have to install this extension for chrome: EXTENSION

After that, do a redirection like that:

Enjoy!

dblock commented 1 week ago

Maybe someone wants to contribute a fix for this?

Catch All Triage - 1 2 3 4 5 6