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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则