Logs
CloudWatch Logs allows us to manage the logs generated from an application in a central location. This allows us to store any number of logs without storage restrictions. We can also monitor and access logs in an efficient manner using the CloudWatch Management Console. This provides an advanced search and filter capability in case we want to troubleshoot an issue. AWS resources also generate logs which can be stored in CloudWatch Logs so that we don't have distributed logs. We can define log retention days as we might not need historic logs, as per our business needs.
The CloudWatch Logs' console provides an extensive search capability where we can search logs based on filtering and patterns. It becomes easier for users to troubleshoot as log retrieval is faster based on filtering and patterns.
It also provide feature to create custom metrics based on logs. Consider a scenario where application is logging database exception like Exception: Database connection failure
, and we want to...