Cloud Watch

Soumya Pallebothula
2 min readJan 18, 2021

--

Cloud Watch is a monitoring and management services that provides data and actionable insights for AWS, hybrid, and on-premises applications and infrastructure resources. Cloud Watch collects monitoring and operational data in the form of logs and metrics from a single platform.

Log Retention — By default, logs are kept indefinitely and never expire. You can adjust the retention policy for each log group, keeping the indefinite retention, or choosing a retention period between 10 years and one day. Archive Log Data — You can use Cloud Watch Logs to store your log data in highly durable storage.

Accessing Cloud Watch

We can access Cloud Watch using following steps:

Amazon Cloud Watch Console-https://console.aws.amazon.com/cloudwatch/ AWS CLI

Alarm

Alarms watch metrics and execute actions by publishing notifications to Amazon SNS topics or by initiating Auto Scaling actions. SNS can deliver notifications using HTTP, HTTPS, Email, or an Amazon SQS queue. Your application can receive these notifications and then act on them in any desired way.

Log Groups

A log group is a group of log streams that share the same retention, monitoring, and access control settings

Logs are used to monitor store and access log files from AWS resources like EC2, cloud trail, Route53, and others.

Logs are related and are mainly accessed by cloud watch and the features of cloud watch logs are

  1. Monitoring the inbound and outbound data information in the EC2 instances.
  2. Uses Log retention to adjust the time period of the machine or service.
  3. Using Log storage to store log data in highly durable storage.
  4. Uses DNS queries by taking log information about the queries received by Route53.

Logs are stored in the log storage with the help of Log events, Log events is the record of activity by resources or application being monitored.

Logs use the Log Stream which shares or stores the sequence of log events that share the same source.

Basically, logs are divided into groups that can help us to know the data or the information which is entered at that time interval. Log Group represents a group of log streams that share the same monitoring and access control.

AWS Cloud watch logs are used to troubleshoot the system errors, Cloud watch collects custom level metrics from all the running services and stores them in the cloudwatch logs and thereby keeping an alarm to notify when an error occurs.

Hence this is the way in which the cloud watch and its logs help us to monitor and retrieve the data.

Thank you!!

--

--

No responses yet