log_analyzer_correlate
Correlate log events around specific patterns to analyze what happened before and after key occurrences in log files.
Instructions
Correlate events around anchor points in a log file.
Args:
file_path: Path to the log file
anchor_pattern: Pattern to anchor correlation around (regex)
window_seconds: Time window in seconds around anchor (1-3600, default: 60)
max_anchors: Maximum anchor points to analyze (1-50, default: 10)
response_format: Output format - 'markdown' or 'json'
Returns:
Correlated events around each anchor point, showing what happened
before and after the anchor event.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| anchor_pattern | Yes | ||
| window_seconds | No | ||
| max_anchors | No | ||
| response_format | No | markdown |