Which solution will meet this requirement?
Create an Amazon EventBridge rule that reacts to RDS storage autoscaling events from RDS events. Create an AWS Lambda function that publishes a CloudWatch custom metric. Configure the EventBridge rule to invoke the Lambda function. Visualize the custom metric by using the CloudWatch dashboard.
Create a trail by using AWS CloudTrail with management events configured. Configure the trail to send the management events to Amazon CloudWatch Logs. Create a metric filter in CloudWatch Logs to match the RDS storage autoscaling events. Visualize the metric filter by using the CloudWatch dashboard.
Create an Amazon EventBridge rule that reacts to RDS storage autoscaling events from the RDS events. Create a CloudWatch alarm. Configure the EventBridge rule to change the status of the CloudWatch alarm. Visualize the alarm status by using the CloudWatch dashboard.
Create a trail by using AWS CloudTrail with data events configured. Configure the trail to send the data events to Amazon CloudWatch Logs. Create a metric filter in CloudWatch Logs to match the RDS storage autoscaling events. Visualize the metric filter by using the CloudWatch dashboard.
Explanations:
This option uses Amazon EventBridge to react to RDS storage autoscaling events and triggers a Lambda function that publishes a custom CloudWatch metric. This allows the DevOps team to visualize these events on a CloudWatch dashboard.
While creating a CloudTrail trail and sending management events to CloudWatch Logs can help track AWS service activity, this method does not directly capture RDS storage autoscaling events specifically, as it is not designed for real-time event reaction and visualization in the dashboard.
This option suggests using an EventBridge rule to change the status of a CloudWatch alarm. However, it does not directly visualize the autoscaling events; it simply alters alarm states, which may not provide the desired visualization of the autoscaling metrics.
Configuring a CloudTrail trail with data events and using metric filters can track some activity but does not specifically target RDS storage autoscaling events. It is less effective for real-time visualization on CloudWatch dashboards.