API to get all channel alerts or alerts for a specific channel?

0

Is there a way to get channel alerts with the MediaLive SDK instead of having to subscribe to an SQS queue?

Mike
preguntada hace un año275 visualizaciones
3 Respuestas
0

Hi Mike, MediaLive delivers alerts via EventBridge (aka CloudWatch Events). There are multiple methods to process incoming events, see the user guide for EventBridge at https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule.html

The structure of the events emitted by MediaLive includes the channel ARN so you can use that to filter for high-priority channels.

Regards, Steve

AWS
Steve_W
respondido hace un año
0

We don't want to run a service that processes and stores events in realtime. Is there a way to include alerts in the listChannels or describeChannel API calls?

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MediaLive.html#describeChannel-property https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MediaLive.html#listChannels-property

Mike
respondido hace un año
0

Hi Mike,

It isn't currently possible to expose channel alerts in the way you describe. There is a metric exposed via Cloudwatch called ActiveAlerts which indicates the number of alerts during the sample period, but it does not have a way to display what the alerts in question are. An option might be to combine monitoring ActiveAlerts metric with an EventBridge rule that simply directs all channel alerts to a CloudWatch log stream.

Regards, Steve

AWS
Steve_W
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas