opensearch-project / opensearch-project/alerting
Per Document monitors Extraction query does not return any results.
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 82
- Forks
- 133
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 9
Description
What is the bug?
When creating per document alerting monitors, the extraction query editor does not return any results like so:

We have custom queries that work with time ranges that cannot be replicated in the visual editor. Need help with this issue.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Go to Alerting, create monitor.
- Select per document monitor.
- Select extraction query editor.
- Write any query and run the monitor.
- No records are returned. The screen does not change at all.
What is the expected behavior?
Expectation is that the query will return all documents that match and will be displayed in the Extraction Query Response.
What is your host/environment?
- OS: Ubuntu 18.04.6 LTS
- Opensearch Version: 2.3.0
- Plugins: Alerting
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Alerting plugin's per-document monitor flow and extraction query editor, reproducing the issue with the listed steps on OpenSearch 2.3.0. Trace why running a query leaves the screen unchanged; done means matching documents appear in the Extraction Query Response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100