A developer has deployed a web application that is exhibiting intermittent failures. To effectively monitor application behavior and quickly pinpoint these issues, which service could be used to analyze log data in real time and trigger appropriate responses based on specific log patterns?
Set up AWS Lambda to poll logs periodically and act on them.
Use Amazon CloudWatch Logs to establish metric filters and alarms.
Utilize Amazon RDS Performance Insights for log events assessment.
Implement Amazon S3 event notifications to monitor log object changes.