log_stats
Compute log volume histograms, level breakdowns, and top error patterns to identify traffic spikes, error bursts, and noisy log sources.
Instructions
Compute log statistics: volume histogram over time, level breakdown, and top repeated message patterns.
Useful for spotting traffic spikes, error bursts, or noisy log sources.
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": {
"file_path": "<file_path>"
},
"name": "log_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| bucket_size | No | auto | |
| top_patterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |