—diff
Compares log patterns between a baseline and a comparison period. Highlights messages that appear more or less frequently than expected — useful for detecting regressions after a deploy or spotting new error patterns.
Syntax
--diff:<baseline>
--diff:<baseline>:<comparison> Time references use hyphenated natural language:
| Reference | Meaning |
|---|---|
yesterday | Previous calendar day |
2-days-ago | Two days back |
last-week | 7 days ago window |
Examples
--diff:yesterday
--diff:2-days-ago:yesterday
level:error --diff:yesterday Notes
- When only
baselineis given, it compares the baseline period against the current active time range - When both are given, baseline vs comparison are compared directly
- Executes on submit
- Scope: advanced filter bar