TelegramAlert allows you to send Graylog alert messages to a specified Telegram chat.
Requires Graylog 2.0 or later.
Download the plugin
and place the
.jar file in your plugins folder that is configured in your
as described in the Graylog documentation.
service graylog-server restart
Create a new bot with the BotFather.
Send the Bot a message and go to
<BOT_TOKEN> with the token you got from BotFather) to get your ID, as shown below.
Add a new alert notification in your Graylog-interface and select
Telegram Alert as the notification type.
The message is a template that can be configured as described in the Graylog Documentation
This project is using Maven and requires Java 8 or higher.
You can build the plugin using the following command:
The plugin file
telegram-alert-x.x.x.jar will be saved in the
Versions are released using the maven release plugin:
mvn release:prepare mvn release:perform
TravisCI builds and uploads the release artifacts automatically.
Thanks to Alexey Medov for his valuable ideas and generous donation!