hasValue Condition - logzio/sawmill GitHub Wiki
hasValue
The condition checks if a field has a value.
- field
- possibleValues [array]. Type sensitive, if it's a number make sure to have the value not in quotes, if it's a string have it in quotes, if it can be both be safe and have the values both in quotes and not in quotes.
Example
{
"steps": [
{
"if": {
"condition": {
"hasValue": {
"field": "field_name",
"possibleValues": ["value1", "value2"]
}
},
"then": [
{
<processor or statement>
}
]
}
}
]
}