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
질문됨 일 년 전275회 조회
3개 답변
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
답변함 일 년 전
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
답변함 일 년 전
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠