The CloudWatch agent ships /var/log/messages of every instance to the log group /fcj/cloudwatch-workshop/var/log/messages, one log stream per instance. In this section you read the logs, query them and create a metric from them.
/var/log/messages
/fcj/cloudwatch-workshop/var/log/messages