analyze_logs
Extract error patterns and insights from log content to identify issues and categorize errors for SRE observability on Konflux and OpenShift platforms.
Instructions
Analyze log text to extract error patterns and insights.
Args:
log_text: Log content string (single entry, multiple lines, or full log file).
Returns:
Dict[str, Any]: Keys: error_count, error_patterns, categorized_errors, summary.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_text": "<log_text>"
},
"name": "analyze_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |