Posted On: Nov 26, 2023

Amazon CloudWatch announces (in preview) natural language query generation powered by generative AI for Logs Insights and Metrics Insights. This feature enables you to easily and quickly generate queries in context of your logs and metrics data using plain language. By simplifying the query generation process, you can accelerate insights from your observability data without needing extensive knowledge of the query language.

This feature provides three main capabilities for CloudWatch Logs and Metrics Insights. First, it generates queries from natural-language questions to help you easily get started. For example, you can ask questions such as “Show me the 10 slowest Lambda requests?” or “Which DynamoDB table is the most throttled”? Second, it provides line-by-line query explanation to help you learn the query syntax. Third, it helps you refine existing queries using natural-language instructions for guided query iteration.

This feature is now supported in US East (N. Virginia) and US West (Oregon).

To use the new feature, visit the CloudWatch Logs Insights or Metrics Insights console page, and click the new “Query generator” button to access the feature. To learn more, select the “Info” link to expand the help panel. To get started with CloudWatch Logs Insights or Metrics Insights, visit our getting started guide and the pricing page.