Skip to content

Implement alerting #4

Closed
Closed
@nitisht

Description

@nitisht

We need to add alerting optional per log stream. Config would look like this:

{
  "alerts": [
    {
      "name": "server-fail-alert",
      "message": "server reported error status",
      "rule": {
        "field": "http_status",
        "contains": "500", // equals, greaterThan, lessThan
        "repeats": "5", // repeats this many times
        "within": "10m" // for this duration seconds (s), minutes (m), hours (h), days (d)
      },
      "target": [
        {
          "name": "slack-target",
          "server_url": "http://mailgun.com",
          "api_key": "xxxx"
        }
      ]
    }
  ]
}

This config would be added to the Parseable server, per log stream via API

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions