analyze_log_patterns
Identifies common log patterns and error spikes using Loki queries over configurable time windows, helping detect anomalies and potential issues in observability data.
Instructions
Analyze log patterns and anomalies using Loki queries.
This tool identifies common log patterns, error spikes, and potential issues by analyzing log data over time windows.
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": {
"query": "<query>"
},
"name": "analyze_log_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Base LogQL query to analyze | |
| time_window | No | Time window for analysis (e.g., "1h", "24h", "7d") | 1h |
| min_occurrences | No | Minimum occurrences to consider a pattern significant |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||