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달 전

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

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

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