troubleshooting-application-failures

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Application Failure Troubleshooting

应用故障排查

Overview

概述

Domain expertise for diagnosing application failures through CloudWatch log analysis. Discovers relevant log groups, searches for error patterns and stack traces, performs root cause analysis, and generates prioritized remediation recommendations.
通过CloudWatch日志分析诊断应用故障的领域专业能力。可发现相关日志组、搜索错误模式和堆栈跟踪、执行根本原因分析,并生成按优先级排序的修复建议。

Troubleshoot a failing application

排查故障应用

To diagnose and resolve application failures using CloudWatch logs, follow the procedure exactly. See Application failure troubleshooting procedure.
要使用CloudWatch日志诊断并解决应用故障,请严格遵循以下流程。详见应用故障排查流程

Troubleshooting

排查问题

No log groups found

未找到日志组

Ask the user for specific log group names. Common patterns:
/aws/lambda/function-name
,
/aws/apigateway/api-name
, or custom application log groups.
请用户提供具体的日志组名称。常见格式:
/aws/lambda/function-name
/aws/apigateway/api-name
或自定义应用日志组。

Access denied errors

访问被拒绝错误

Verify AWS credentials have
logs:DescribeLogGroups
,
logs:DescribeLogStreams
,
logs:StartQuery
, and
logs:GetQueryResults
permissions.
验证AWS凭证是否拥有
logs:DescribeLogGroups
logs:DescribeLogStreams
logs:StartQuery
logs:GetQueryResults
权限。

Query timeouts

查询超时

Reduce the time window or limit results. Large log groups may require multiple smaller queries.
缩小时间窗口或限制结果数量。大型日志组可能需要拆分多个较小的查询。