Filtering Amazon CloudWatch Log Events
Description
Amazon CloudWatch Logs is an offering from AWS that ingests, stores, and presents log data. It integrates seamlessly with the other AWS services, and can ingest data from applications and services external to AWS as well.
By centralizing your logs, debugging and troubleshooting becomes much easier. You can store logs for analysis, and you can create metrics from your log data that you can graph or alert on.
In this hands-on lab, you will learn how to filter textual and JSON log event data.
Learning objectives
Upon completion of this beginner-level lab, you will be able to:
- Match and exclude search terms in textual logs
- Filter on specific values in JSON event logs
- Create a metric filter and view it in Amazon CloudWatch
Intended audience
- Candidates for the AWS Certified SysOps Administrator - Associate certification
- DevOps Engineers
- Cloud Architects
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Amazon CloudWatch
- Amazon CloudWatch Logs
The following course and lab can be used to fulfill the prerequisites:
Updates
October 17th, 2023 - Updated the instructions and screenshots to reflect the latest UI
July 17, 2023 - Updated lab environment and step instructions
September 18th, 2022 - Updated instructions and screenshots for accuracy