WARNING: Version 5.1 of the Elastic Stack has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Always Condition
editAlways Condition
editUse the always
condition to set the condition to true
. This forces the watch
actions to be executed unless they are throttled.
The always
condition enables you to perform watch actions on a fixed schedule,
such as, "Every Friday at noon, send a status report email to
sys.admin@example.com."
Using the Always Condition
editThis is the default if you omit the condition definition from a watch.
There are no attributes to specify for the always
condition. To explicitly
use this condition, specify the condition type and associate it with an empty
object:
"condition" : { "always" : {} }