Alerts — Discord

Post a message to a Discord 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 Discord in Settings — this invites the BunnyLogs bot to your server.
  2. Send a message in any channel you want to use so the bot registers it.
  3. Go to Alerts and click New Alert (or edit an existing one).
  4. Select Discord as the channel type and pick a channel from the dropdown.
Example use cases
  • Post to #alerts for all ERROR entries.
  • Notify #monitoring when program contains github-ci.
  • Post to a private channel when message contains payment failed.
Notes
  • The bot must have permission to send messages in the target channel.
  • Channels appear in the dropdown after the bot has seen at least one message in them.
  • Any 2xx response from the Discord API is treated as success. Failures are logged in the Alert Log.