CloudWatch Logs Agent

CloudWatch provides an agent that can be configured with different filesystem sources to collect, aggregate and stream log files to CloudWatch Logs. The first step is to create an IAM policy that will provide the access required to write log streams into CloudWatch Log groups.

  1. Navigate to IAM and choose Policies | Create policy:

  1. In the Create policy menu use the JSON editor and paste the following IAM Policy:
  2. Review and name the policy CloudWatchAgentPolicy and click on CreatePolicy.
  3. Our example ...

Get AWS Certified Solutions Architect - Associate Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.