detect_incidents
Detects mass log incidents by clustering similar events and ranking those exceeding a configurable threshold, providing signature, event count, blast radius, and sample text.
Instructions
Detect mass log incidents using signature clustering (Stormbreaker engine).
Queries events, groups them by normalized signature pattern, and returns clusters that exceed the mass threshold — ranked by event count.
Args: lookback_minutes: How far back to search (default 60 minutes). search_term: Free-text search term (optional, empty = all events). event_limit: Max events to fetch for analysis (default 5000). mass_threshold: Min events per signature to qualify as incident (default 5). max_incidents: Max incidents to return (default 20).
Returns: JSON with ranked incidents including signature, event count, blast radius (affected sources), and sample text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookback_minutes | No | ||
| search_term | No | ||
| event_limit | No | ||
| mass_threshold | No | ||
| max_incidents | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |