Find anomalous log lines
analyze_logsRanks log lines by severity and unusual wording, surfacing anomalies worst first. Use to identify critical entries without reading the whole file.
Instructions
Score a log file's lines by severity and how unusual their wording is, and return the anomalies, worst first. Deterministic — no model call, no API key. Call this when you have a log file and want the handful of lines worth reading rather than the whole file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logFile | Yes | Absolute path to the log file | |
| threshold | No | Anomaly score cutoff, 0-1 (default 0.5) |