mathComparator Condition - logzio/sawmill GitHub Wiki
mathComparator
The condition can be used to check if a value is grater/smaller then, or a value is in a range
- field
- gt (greater than)
- gte (greater than or equal to)
- lt (less than)
- lte (less than or equal to)
Examples
{
"steps": [
{
"if": {
"condition": {
"mathComparator": {
"field": "field_name",
"gte":"value",
"lte":"value"
}
}
}
},
"then": [
{
<processor or statement>
}
]
]
}