in Elastic Watcher, we have a situation whereby I need to do some transform
and calculate some value. Once calculating these values, I need to do the condition
logic
But it seems like condition
is executed BEFORE transform
. Is there any way I can make the condition after transform? or any tips?
So currently i'm looking to do..
"transform": {
"script":
"""
'someCalculation': 1000,
"""
},
"condition": {
"compare": {
"someCalculation": {
"gt": 99
}
}
}
but the someCalculation
is NOT available for the condition