Cloud Watch
Cloud Watch is a component of amazon web services that provides real-time monitoring of AWS resources and customer applications running on Amazon infrastructure.
Amazon cloud watch can be used to provide a catalog of standard reports that you can use to analyze trends and monitor system performance.
It is also used to reduce unnecessary operational costs by sending notifications in case of unreasonable pricing issues.
It detects problems early to prevent disasters. Also prevents and reduces downtime and business losses.
It can monitor the end-users experience and create reports which help to make improvements.
There are two types of monitoring which are offered by cloud watch they are:
- Basic monitoring.
- Detailed monitoring.
Cloud watch uses some concepts to manage all the operations they are
- Metrics: They represent a time-ordered set of data points.
- Dimensions: It is used to uniquely identify a metric.
- Statistics: These are nothing but the data aggregations of the metrics.
- Alarms: these are used to automate actions on your behalf.
Cloud acts as a complete visualized tool for our AWS resources and services. By collecting metrics and logs, monitors the visualization of metrics, and Act as an automated response by analyzing of real-time analysis.
It is briefly used for application monitoring, system-wide visibility, resource optimization, and health monitoring.
LOGS
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
- Monitoring the inbound and outbound data information in the EC2 instances.
- Uses Log retention to adjust the time period of the machine or service.
- Using Log storage to store log data in highly durable storage.
- 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.