An unfamiliar error is filling an application's CloudWatch log group. The developer does not know the Logs Insights query language and wants AI help to find the failing requests and then a plain-language account of what they have in common. Which approach meets these requirements?
Show the answer
Correct answerC. In Logs Insights, choose Generate query, describe the error, then summarize the results.
AWhy not this: A metric filter and alarm count and notify on matching events; they do not retrieve or explain the failing requests.
BWhy not this: Anomaly detection flags unusual log patterns but does not build a query for the failing requests or summarize them.
CWhy this is right: Logs Insights generates the query from a natural-language prompt and then summarizes the query results in plain language.
DWhy not this: A counting function measures how often the error occurs but gives no AI analysis of the requests.
CloudWatch Logs Insights can generate a query from a plain-English prompt (Generate query, permission cloudwatch:GenerateQuery) and can summarize query results in natural language, which together find the failing requests and explain them. A metric filter, an alarm or a counting function only measure the error, and anomaly detection flags unusual patterns without retrieving and summarizing the matching requests.