From the course: AWS Essential Training for Architects

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Gathering performance insights

Gathering performance insights

So we've seen how to use Amazon CloudWatch to monitor metrics. CloudWatch has a feature called CloudWatch Logs that allows you to centralize logs from all of your systems, applications, and AWS services. Once aggregated, you can query them for specific error codes or patterns, filter them based on specific fields, or archive them for future analysis. There are two log classes, standard for logs that require real-time monitoring, or that you access frequently, and infrequent access for logs that you access less frequently. When you ingest log events to CloudWatch Logs, they are organized as log streams and log groups. A log stream is a collection of log events sharing the same source, for example, the same elastic network interface. A log group is a group of log streams that share the same settings like retention, monitoring, and access control. Once your logs are in CloudWatch Logs, you can use CloudWatch Logs insights to query them. It uses a purpose built query language. It…

Contents