All Collections
Logs Management
How to send alerts & notifications from to Slack
How to send alerts & notifications from to Slack

Discover the steps you need to take to setup and configure alerts notifications to be sent to Slack in this helpful article from

Lee Smith avatar
Written by Lee Smith
Updated over a week ago

It only takes a few minutes to add alerting to any of your stacks. Once enabled, you'll be able to edit and set up alerting rules for all your stacks.

Provision Alerting for a Stack

When you log in your stacks are displayed on the dashboard. To enable alerting for a stack, choose 'View Stack Settings'. dashboard

Next, choose 'Alerting & Notifications' and then choose 'Setup alerting for this Stack' alerting

Create your Alerting Rule

Use the code block below to quickly get started with your Slack alert.

name: Production App Errors

type: any

index: logstash-*

- query:
      query: "type:error"

## Receive an alert for every single match
  minutes: 0

# (Required)
# The alert used when a match is found
- "slack"

## Live alerts channel

How to use the code

  1. Paste the code into the alert replacing any existing rule.

  2. Then just edit the code to match the filter query you need, in this case, we are looking for matches on "type:error".

  3. Replace [YOUR SLACK HOOK] with your slack hook URL.

  4. Choose test to run the rule against your data over the last 2 hrs.

  5. Once happy, choose update to apply and save the rule.

Now you're all set to send alerts to Slack from!

What's next?

Did this answer your question?