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 Answer
0

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

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions