Report the CloudWatch Logs Agent's Status
Use the following procedure to report the status of the CloudWatch Logs agent on your EC2 instance.
To report the agent status
Connect to your EC2 instance. For more information, see Connect to Your Instance in the Amazon EC2 User Guide for Linux Instances.
If you have trouble connecting, see Troubleshooting Connecting to Your Instance in the Amazon EC2 User Guide for Linux Instances
At a command prompt, type the following command:
sudo service awslogs status
Check the /var/log/awslogs.log file for any errors, warnings, or issues with the CloudWatch Logs agent.