Alerts — Slack

Post a formatted message to a Slack channel the moment a log entry matches your conditions.

About alerts

An alert watches your incoming log stream and fires a notification whenever an entry matches all of its conditions. Each alert can have multiple delivery channels. Use the Test button to fire a sample notification immediately, and the Alert Log to review delivery history.

Match conditions
ConditionHow it matches
LogspaceRestrict to a specific logspace, or leave blank to match all.
LevelExact match — e.g. ERROR only fires on error-level entries.
Program containsCase-insensitive substring match on the program field.
Message containsCase-insensitive substring match on the message field.
Setup
  1. Connect Slack in Settings if you haven't already.
  2. Invite the BunnyLogs bot to the target channel in Slack (/invite @BunnyLogs).
  3. Go to Alerts and click New Alert (or edit an existing one).
  4. Select Slack as the channel type and pick a channel from the dropdown.
Example use cases
  • Post to #incidents whenever level=ERROR is received from any logspace.
  • Post to #deploys when program contains deploy.
  • Post to a private channel when message contains payment failed.
Notes
  • The BunnyLogs bot must be a member of the channel — use /invite @BunnyLogs in Slack.
  • Private channels are supported as long as the bot has been invited.
  • Any 2xx response from the Slack API is treated as success. Failures are logged in the Alert Log.