EventBridge Event patterns for MSK and EKS

0

Hello, i am having some trouble for a bit to setup event patterns for EKS and MSK. I want a more detailed monitoring but have been trying to at least get the cluster state change as an event but without success. I also tried allowing every event by putting only the source as event pattern but the only thing i could get were the API call via Cloud Trails. From my search i havent been able to find any guides regarding this matter. Has any of you guys encountered this kind of issue before? Help would be much appreciated.

Migen Allkaj

1 回答
0

Hello Migen Allkaj, EKS and MSK do not currently emit Cloudwatch events related to cluster state change. Depending on your use-case, a polling approach using a Lambda function scheduled to run on a 1-minute interval may be a good option. With this approach, a Lambda function would use SDK calls against the EKS/MSK resources or their associated CloudWatch metrics, evaluate if the event has occurred based on those responses, and then send a custom event to EventBridge with the PutEvents API call.

AWS
已回答 7 个月前

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

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

回答问题的准则