process_logs
Search and filter log files using regex patterns with pagination and context lines for efficient log analysis.
Instructions
Process log files efficiently with pattern matching and pagination. Use offset to skip previous matches.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to log file | |
| pattern | Yes | Regex pattern to match | |
| limit | No | Maximum matches to return | |
| offset | No | Skip first N matches before returning results (pagination) | |
| context_lines | No | Lines of context around matches | |
| response_format | No | summary = stats + 5 sample rows (for humans), full = all rows in data array (for processing) | summary |