Topic 1 Question 79
A developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.
What is the reason that no filtered results are being returned?
A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC.
CloudWatch Logs only publishes metric data for events that happen after the filter is created.
The log group for CloudWatch Logs should be first streamed to Amazon OpenSearch Service before metric filtering returns the results.
Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B
Filters do not retroactively filter data. Filters only publish the metric data points for events that happen after the filter was created.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html
👍 1zodraz2023/05/08
シャッフルモード