Relevance of Schedule Frequency in per-document monitor

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch Dashboard - 2.8.0

Describe the issue:
What is the relevance of frequency to run every minute in case of per-document monitor. The monitor is supposed to run every time a new document is indexed. Just wondering how this schedule of 1 minute affects monitor.


Relevant Logs or Screenshots:

Monitor is ran every minute.(in your case) During monitor run, all new documents(new and updated) since last run are processed.

Isn’t that a bit misleading? Ideally I want to run the monitor on a document at the very moment it is indexed (as mentioned in definition) and check if it satisfies my alert condition but rather it runs a consolidated run after 1 minute.

Is there a way to switch it to instantaneous on every document?

No, this is the only way it works right now. You can’t switch it to “instant” but you can manually execute monitor via /_execute API

I’m not 100% sure, but It’s probably more scalable like this and “up to 1min delay” shouldn’t be an issue in most cases.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.