What's new: patterns by first_seen recency
log10x_whats_newDetect log patterns whose first_seen timestamp falls inside a recency window, supporting incident triage, deploy review, and observability hygiene.
Instructions
Patterns whose first_seen timestamp falls inside a recency window: the "what showed up recently" question. Distinct from log10x_top_patterns (current cost ranking) and log10x_whats_changing (delta vs baseline). New patterns have no baseline, so delta math is meaningless; this tool exists so they get a clean home and don't pollute the changing-vs-baseline surface. Implementation: queries bytes_per_pattern in the current timeRange window to find candidate hashes, then for each hash queries the 30-day history to find the earliest non-zero datapoint via fetchFirstSeenBatch. A pattern is "new" when its first_seen timestamp is younger than first_seen_within (default 1d). Default sort: by first_seen recency descending (most recent first). Use first_seen_within: "1h" for incident triage, "1d" for daily-deploy review, "7d"+ for weekly observability hygiene. Returns patterns with first_seen, age, cost_now_usd, bytes_now, events_now, and the service + severity attribution. An engine upgrade that changes the naming rules renames the patterns it affects once, so the first windows after it list those patterns here as new, first seen from the upgrade on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Output format. | summary |
| limit | No | Max patterns to return. Default 10. | |
| service | No | Service name to scope the result. Omit for all services. | |
| severity | No | Severity level to scope (e.g. `ERROR`, `CRITICAL`). | |
| timeRange | No | Time range used to score current cost. Default 1h. | 1h |
| environment | No | Environment nickname (for multi-env setups). | |
| analyzerCost | No | SIEM ingestion cost in $/GB. Auto-detected from profile if omitted. | |
| first_seen_within | No | Patterns whose first-seen timestamp is younger than this are "new." Default `1d`. Use `1h` for incident triage, `1d` for daily-deploy review, `7d`+ for weekly observability hygiene. | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| tool | Yes | ||
| view | No | summary | |
| images | No | ||
| actions | No | ||
| summary | Yes | ||
| warnings | No | ||
| truncated | No | ||
| next_cursor | No | ||
| render_hint | No | ||
| generated_at | Yes | ||
| schema_epoch | Yes | ||
| schema_version | Yes |