Рет қаралды 1,844
When you configure your trail to send events to CloudWatch Logs, CloudTrail sends only the events that match your trail settings. For example, if you configure your trail to log data events only, your trail sends data events only to your CloudWatch Logs log group. CloudTrail supports sending data, Insights, and management events to CloudWatch Logs.
Remember: below actions are required:
1) logs:CreateLogStream
2) logs:PutLogEvents
Also Note that if Cloud Trail Events are larger than 256kb then it wont be sent to Cloud Watch Events.