Graylog alert (>= 3.1)

Do you want to use Graylog HTTP alerts ?

Template
Graylog alert: {{ .event.message }}

---

{{ .event.message }}

{{ range $message := .backlog -}}
- {{ .message }}
{{ end }}

Browse at https://graylog.abc.com/streams/{{ index .event.source_streams 0 }}/search
Rendered
Graylog alert: test: count()=24.0

---

test: count()=24.0

- WARN: System is failing
- ERROR: This is an example error message

Browse at https://graylog.abc.com/streams/5cb8c74906934a00112eacb6/search
Payload
{
  "backlog": [
    {
      "message": "WARN: System is failing",
      "...": "..."
    },
    {
      "message": "ERROR: This is an example error message",
      "...": "..."
    }
  ],
  "event": {
    "message": "test: count()=24.0",
    "source_streams": [
      "5cb8c74906934a00112eacb6"
    ],
    "...": "..."
  },
  "...": "..."
}