A SysOps Administrator is configuring Amazon CloudWatch metric filters to monitor application logs stored in a CloudWatch log group. Which of the following statements correctly describe the characteristics and behavior of CloudWatch Logs metric filters? (Select TWO.)
- They can extract numeric values from JSON-formatted log messages to publish custom metrics.Cevap
- They do not modify or alter the original log events stored within the log group.Cevap
- CThey automatically delete log events that do not match the filter pattern to optimize log group storage and retention.
- DThey automatically change the metric reporting interval to detailed monitoring with 1-second resolution.
- EThey directly execute AWS Systems Manager Automation runbooks whenever a matching log pattern is detected.
Cevap
CloudWatch Logs metric filters extract numeric values from JSON-formatted log messages to publish custom metrics and do not modify or alter the original log events stored within the log group.
The correct answers are the statements that metric filters can extract numeric values from JSON-formatted log messages to publish custom metrics, and that they do not modify or alter the original log events stored within the log group. These accurately reflect how metric filters operate on log data.
Adım Adım Çözüm
Anahtar Kavram
CloudWatch Logs metric filters define patterns to search for in log events and convert them into CloudWatch metrics without modifying the underlying log data.