analyze_logs
Inspect Kubernetes service logs to identify errors, anomalies, and recurring patterns, then receive recommendations for faster troubleshooting.
Instructions
Analyze logs for a service — detects errors, anomalies, and patterns with recommendations.
Args: service_name: Service/pod name or regex pattern namespace: Kubernetes namespace timeframe_minutes: How many minutes of logs to analyze (1-1440) limit: Maximum log lines to analyze (1-500)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| namespace | No | default | |
| service_name | Yes | ||
| timeframe_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |