Getting Started with CloudWatch Logs
You can publish log data from Amazon EC2 instances running Linux or Windows Server, and logged events from AWS CloudTrail. CloudWatch Logs can consume logs from resources in any region, but you can only view the log data in the CloudWatch console in the regions where CloudWatch Logs is supported. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.
To get started with CloudWatch Logs on an EC2 instance running Microsoft Windows, see Sending Performance Counters to CloudWatch and Logs to CloudWatch Logs in the Amazon EC2 User Guide for Windows Instances.
To get started with CloudWatch Logs and logged events in CloudTrail, see Sending CloudTrail Events to CloudWatch Logs in the AWS CloudTrail User Guide.
- CloudWatch Logs Agent Prerequisites
- Quick Start: Install the Agent on a Running EC2 Instance
- Quick Start: Install the Agent on an EC2 Instance at Launch
- Quick Start: Install the Agent Using AWS OpsWorks
- Quick Start: Use AWS CloudFormation to Send Log Data
- Report the Agent Status
- Start the Agent
- Stop the Agent
- View Log Data
- Change Log Data Retention
- Tag Log Groups
CloudWatch Logs Agent Prerequisites
The CloudWatch Logs agent requires Python version 2.6, 2.7, 3.0, or 3.3, and any of the following versions of Linux:
Amazon Linux version 2014.03.02 or later
Ubuntu Server version 12.04, or 14.04
CentOS version 6, 6.3, 6.4, 6.5, or 7.0
Red Hat Enterprise Linux (RHEL) version 6.5 or 7.0