Which solution meets these requirements?
Run the Amazon CloudWatch agent in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
Run AWS App Mesh in the existing EKS cluster. View the metrics and logs in the App Mesh console.
Configure AWS CloudTrail to capture data events. Query CloudTrail by using Amazon OpenSearch Service.
Configure Amazon CloudWatch Container Insights in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
Explanations:
While running the Amazon CloudWatch agent can collect metrics and logs, it does not provide centralized aggregation and summarization specifically for Kubernetes applications. It requires additional configuration for proper integration and monitoring.
AWS App Mesh primarily provides service mesh capabilities for microservices. It does not collect or aggregate metrics and logs in a centralized manner; instead, it focuses on traffic management and service discovery.
AWS CloudTrail captures API calls and related events for account activity but is not designed for application metrics and log aggregation. Amazon OpenSearch Service can be used for querying logs, but it does not fit the requirement for summarizing metrics from the application.
Amazon CloudWatch Container Insights is specifically designed to provide observability for containerized applications running in Amazon EKS. It automatically collects, aggregates, and summarizes metrics and logs, allowing for centralized monitoring in the CloudWatch console.