Alerts — Telegram

Send a message to a Telegram chat 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 Telegram in Settings — this links your Telegram account to BunnyLogs.
  2. Send the BunnyLogs bot a message, or add it to a group, so it appears in the chat list.
  3. Go to Alerts and click New Alert (or edit an existing one).
  4. Select Telegram as the channel type and pick a chat from the dropdown.
Example use cases
  • Send a personal DM to yourself for every ERROR entry.
  • Alert a team group when message contains database.
  • Notify an ops channel when program contains cron and level=WARNING.
Notes
  • Both direct messages and group chats are supported.
  • The bot must have sent at least one message in a group before it can post there.
  • Any 2xx response from the Telegram Bot API is treated as success. Failures are logged in the Alert Log.