WARNING: Version 5.4 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.
Never Condition
editNever Condition
editUse the never
condition to set the condition to false
. This means the
watch actions are never executed when the watch is triggered. The watch input is
executed, a record is added to the watch history, and the watch execution ends.
This condition is generally used for testing.
Using the Never Condition
editThere are no attributes to specify for the never
condition. To use the it,
you specify the condition type and associate it with an empty object:
"condition" : { "never" : {} }