matchRegex Condition - logzio/sawmill GitHub Wiki
matchRegex
The condition works on string fields only.
- field
- regex
- caseInsensitive - default false (optional)
- matchPartOfValue - default true (optional)
Examples
{
"steps": [
{
"if": {
"condition": {
"matchRegex": {
"field": "message",
"regex": "^value"
}
},
"then": [
{
<processor or statement>
}
]
}
}
]
}