Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Start the CloudWatch Logs agent - Amazon CloudWatch Logs

Start the CloudWatch Logs agent

If the CloudWatch Logs agent on your EC2 instance did not start automatically after installation, or if you stopped the agent, you can use the following procedure to start the agent.

To start the agent
  1. Connect to your EC2 instance. For more information, see Connect to Your Instance in the Amazon EC2 User Guide.

    For more information about connection issues, see Troubleshooting Connecting to Your Instance in the Amazon EC2 User Guide.

  2. At a command prompt, type the following command:

    sudo service awslogs start

    If you are running Amazon Linux 2, type the following command:

    sudo service awslogsd start
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.