On the main CloudWatch page:
/ec2
and select /ec2/linux/var/log/messages.dhclient
, NET
, ec2net
, systemd
, and more.Go back to the /ec2/linux/var/log/messages log group details. Now, set up the log retention period.
That’s it! These basic operations help you understand where logs in your instance originate from, including services and applications generating them.