-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
We can add a new operator called regex that allows regex patterns in the value field. If the pattern matches, Parseable can send alerts to the relevant target. Sample alert config below:
{
"alerts": [
{
"name": "Status Alert",
"message": "server side error occurred",
"rule": {
"type": "column",
"config": {
"column": "message",
"operator": "regex",
"repeats": 2,
"value": "^foo"
}
},
"targets": [
{
"type": "webhook",
"config": {
"url": "https://webhook.site/6b184e08-82c4-46dc-b344-5b85414c2a71"
},
"repeat": "30s"
}
]
}
]
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request