analyze_log_errors
Scan a remote log file for error patterns and get a concise summary of warnings, exceptions, and critical issues with counts and examples.
Instructions
Analyze a log file for error patterns and summarize findings.
Searches for ERROR, WARN, CRITICAL, Exception, and similar keywords.
Args: path: Absolute path to the log file. host_name: Named host from SSH_HOSTS config; uses default host if omitted.
Returns: Error/warning summary with counts and recent examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| host_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |