Source https://devopscube.com/how-to-setup-and-push-serverapplication-logs-to-aws-cloudwatch/
sudo yum install collectd
sudo yum install amazon-cloudwatch-agent
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-config-wizard
ll /opt/aws/amazon-cloudwatch-agent/bin/config.json
sudo cp /opt/aws/amazon-cloudwatch-agent/bin/config.json /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json
sudo systemctl start amazon-cloudwatch-agent.service
sudo systemctl status amazon-cloudwatch-agent.service