Hay all
Is it possible in an watcher condition script to set and and if for exanple
alert only if threshold belowmax_threshold
but above min_threshold
Trying to set the alert to auto close, but not want this action to trigger every time
Hay all
Is it possible in an watcher condition script to set and and if for exanple
alert only if threshold belowmax_threshold
but above min_threshold
Trying to set the alert to auto close, but not want this action to trigger every time
Hey,
if you are using the script
based condition, checking for several contents of the payload is not a problem at all. Something like this:
return ctx.payload.some_value > 1 and ctx.payload.other_value < 10
hope this helps!
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.