CloudTrail事件提示过大,有什么解决办法?

0

【以下的问题经过翻译处理】 我正在将ec2的CloudTrail API事件发送到CW Events。以下是在EventBridge中的配置:

{
  "detail": {
    "eventName": ["RunInstances"]
    "eventSource": ["ec2.amazonaws.com"]
  },
  "detail-type": ["AWS API Call via CloudTrail"]
  "source": ["aws.ec2"]
}

我没有收到完整的事件,只有以下消息体:

  {
      "omitted": true, 
      "originalSize": 109435, 
      "reason": "responseElements too large"
  }

请问这个有什么处理方案吗?

1 回答
0

【以下的回答经过翻译处理】 看起来responseElements的最大大小为100 KB - 可以看看这个文档https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html

profile picture
专家
已回答 5 个月前

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

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

回答问题的准则