Telegram Notification Plugin for Graylog
Requires Graylog 3.1 or later. It’s recommended to use the latest Graylog release.
- Download the latest TelegramNotification release and place the
graylog-plugin-telegram-notification-x.x.x.jarfile in your
plugin_dirthat is configured in your
graylog.confas described in the Graylog documentation.
- Restart your graylog-server, i.e.
systemctl restart graylog-server.
- Configure an alert notification as described in the next section.
Create a new Telegram bot with the BotFather and copy the bot token.
Use the Message Tool to find the Chat ID of the desired chat.
You can use a private chat, add the bot to a group-chat or to a channel. Just make sure to copy the correct Channel ID.
Navigate to Alerts > Notifications in your Graylog-interface and select
Telegram Notification as the notification type.
The message is a template that can be configured as described in the Graylog Documentation
To update the plugin you need to remove the old
telegram-alert-x.x.x.jar ) file from your plugins folder and follow the installation instructions again.
You may need to remove and re-create your Telegram Notifications.
See development/README.md for some notes on how to get started with development.
Contributions are welcome.