Extract MediaLive Alerts

0

how we can fetch the details of the medialve alerts using the cli like below json. { "version": "0", "id": "154769fb-9f7c-32a1-6822-26fppppe5a58", "detail-type": "MediaLive Channel Alert", "source": "aws.medialive", "account": "111122223333", "time": "2023-03-08T18:14:25Z", "region": "us-west-2", "resources": [ "arn:aws:medialive:us-west-2:111122223333:channel:123456" ], "detail": { "alarm_state": "CLEARED", "alarm_id": "7ad616bd389832yue90aab1324bffab5b834a", "alert_type": "Failed to Create Output File or Socket", "pipeline": "0", "channel_arn": "arn:aws:medialive:us-west-2:111122223333:channel:123456", "message": "MPEGTS muxer for mediaID [1] unable to open output or stream [https://<path>]." } }

질문됨 4달 전128회 조회
1개 답변
1

Hi Darshan,

Alerts like these have corresponding log entries in the MediaLive log stream for your channel. You will need to change the default logging level of DISABLED to something more verbose (I usually suggest WARNING for most use cases) in order to see these log entries. See https://docs.aws.amazon.com/medialive/latest/ug/monitoring-with-logs.html for details on how to configure logging in MediaLive.

Regards, Steve

AWS
Steve_W
답변함 4달 전

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

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

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

관련 콘텐츠