get_log_errors
Retrieve recent error pattern summaries from CloudWatch log groups, filterable by log group name for targeted error investigation.
Instructions
Returns recent error pattern summaries from CloudWatch log groups: pattern counts and frequencies grouped by log group. Raw log messages are never returned. Use the optional logGroup filter to scope to one group by name substring. Call this when investigating errors or identifying log groups with no retention policy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logGroup | No | Filter to a specific log group name (optional) | |
| maxAgeSeconds | No | Freshness tolerance in seconds. Advisory: the answer is returned either way, with dataHealth.withinRequestedAge reporting whether it met the tolerance. Nothing re-reads AWS on a tool call — run `infrawise analyze` to refresh. Pass a small value for point-in-time questions ("does this queue have a DLQ right now"); omit it for architecture questions where a day-old snapshot is fine. |