Posted On: Jul 19, 2023

Amazon CloudWatch is excited to announce “pattern”, a new Logs Insights command which enables customers to more easily identify trends and patterns in their logs. Customers often need to analyze thousands of log lines to identify relevant information. The pattern command uses AWS Machine Learning algorithms to automatically recognize patterns in log data, aggregate related logs and summarize thousands of log lines into a few easy to visualize groupings. Pattern helps customers quickly surface emerging trends, monitor known errors, increase cost visibility by identifying frequently occurring log lines and more.

Amazon CloudWatch Logs Insights is a fully integrated, pay-as-you-go log analytics service for CloudWatch. Logs Insights enables you to explore, analyze, and visualize your logs, allowing you to troubleshoot operational problems with ease. Logs Insights supports queries with aggregations, filters, and regular expressions for analyzing your logs. 

This feature is now supported in all AWS Regions where CloudWatch Logs is available.

To learn more about the new pattern command, visit the CloudWatch Logs Query Syntax Guide or select “Query help” from within the CloudWatch Logs Insights console page. To get started with CloudWatch Logs Insights, you can visit our getting started guide and the pricing page to learn more.