Logging event bridge schedules

0

I have an event bridge schedule that runs a redshift stored procedure. The call is failing but I'm not seeing any errors or anything. When I run the stored procs manually they work.

So how can I debug or log what is happening?

gino
已提問 4 個月前檢視次數 427 次
2 個答案
1

Hi,

I would suggest that you replace the direct trigger from EventBridge's event to RedShift procedure by an indirect one. You should create a Lambda that you attach to the event an this Lambda should launch the procedure.

This indirect trigger will give you all the flexibity that you need to log the event in CloudWatch, raises SNS notifications, etc.

Best,

Didier

profile pictureAWS
專家
已回答 4 個月前
  • I would but the architecture is built around EventBridge and the other calls are there. So creating a new way would require too much overhaul of the system

0

I'd recommend to start debugging based on this page first https://docs.aws.amazon.com/scheduler/latest/UserGuide/monitoring-overview.html. If you are still unable to make progress, know that EventBridge schedule in the end essentially just calls an API. You can look into making the call directly with the same IAM role to see if the call passes or not. If it does, look into if the IAM trust policies are setup correctly. If you are at lost and need further assistance, reachout to AWS support who can work with internal tooling to help drive this to resolution.

profile pictureAWS
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南