aggregate_logs
Group and analyze JSON log files by level, module, function, or hour to identify patterns and insights efficiently.
Instructions
Aggregate log data by specified criteria
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | No | Log files to analyze (default: all files) | |
group_by | No | Field to group by | level |
Input Schema (JSON Schema)
{
"properties": {
"files": {
"description": "Log files to analyze (default: all files)",
"items": {
"type": "string"
},
"type": "array"
},
"group_by": {
"default": "level",
"description": "Field to group by",
"enum": [
"level",
"module",
"function",
"hour"
],
"type": "string"
}
},
"type": "object"
}