search_log_time_based
Filter and analyze log files within a specified time window, with options to add context before and after matches, for efficient log debugging and monitoring.
Instructions
Search logs within a time window, optionally filtering, with context.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context_after | No | ||
context_before | No | ||
days | No | ||
hours | No | ||
log_content_patterns_override | No | ||
log_dirs_override | No | ||
minutes | No | ||
scope | No | default |
Input Schema (JSON Schema)
{
"properties": {
"context_after": {
"default": 2,
"title": "Context After",
"type": "integer"
},
"context_before": {
"default": 2,
"title": "Context Before",
"type": "integer"
},
"days": {
"default": 0,
"title": "Days",
"type": "integer"
},
"hours": {
"default": 0,
"title": "Hours",
"type": "integer"
},
"log_content_patterns_override": {
"default": "",
"title": "Log Content Patterns Override",
"type": "string"
},
"log_dirs_override": {
"default": "",
"title": "Log Dirs Override",
"type": "string"
},
"minutes": {
"default": 0,
"title": "Minutes",
"type": "integer"
},
"scope": {
"default": "default",
"title": "Scope",
"type": "string"
}
},
"title": "search_log_time_basedArguments",
"type": "object"
}