Alerts event matching rules for: stacktrace.filename does not consider the last file in the stack.
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Problem Statement
Hi everyone,
I've create a few alerts to be triggered based on the stacktrace event rule (_filename_), however I would like to match only if this filename is part of last file of my stacktrace list (where the exception occurred).
Right now, if any of these file names are being matched in-between the stack trace, the alert gets triggered :/
Thanks for the help!
### Solution Brainstorm
When we add a filter match rule for an Alert, we could have an option to say that we want to match certain rule only if the last file (or the file where the exception was triggered) matches the rule, e.g.:

### Product Area
Unknown
Contributor guide
Assessment
This issue has not been assessed yet.