Learn how to install AWS CloudWatch Agent on an EC2 instance
HTML-код
- Опубликовано: 14 янв 2023
- In this lab tutorial we will show you how to install Cloudwatch agent on EC2 machine on AWS platform and start to seeing logs on this activity.
Cloudwatch service is tested on various AWS certifications so this is an important topic to understand.
#awscertification #cloudwatch Наука
Very clearly explained, you did a much better job than the official documentation and saved me so much time. Thank you!
Glad it was helpful!
u explained really well and smoothly.
where do you see which process was using how much cpu/memory
You gave your log retention period as 1 day how come it is showing never expire?
I can't find the resource, kindly share with me
Sir, whenever i install amazon-linux-extras it shows me command not found. Please tell me how to solve this error
Hello
This has not created the mentioned log group name in the cloudwatch >> loggroup :(
Do we need to manually create the log group or the configuration will automatically create the log group?
Urgently need help on this.
same with mine. Did you found any solution yet? I even create manually but nothing is inside
do you find the solution for this ? if yes kindly share
In this video, he has explained taking one random server as an example, where logs were stored in /var/log/messages. These logs are from the syslog daemon. In your case, you may need to monitor syslog logs, which are typically found in /var/log/syslog. Make sure to specify the log file name correctly according to your use case, and you will see the same logs being sent to your CloudWatch log groups.
@@sammey1712 what is the default logs location tho? what should I do to find the location or what should I do to make it just default
Where are the commands?
no commands bro even i was searching
Could i please ask, why you added the music at the background in technical video, that's distracting me, otherwise good content.
Thanks for your feedback. We will definitely consider that for our future videos. Again thanks for supporting our channel.
Where are the commands?
🤕
The wizard command: sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-config-wizard
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json -s
Sir, whenever i install amazon-linux-extras it shows me command not found. Please tell me how to solve this error.