📊📲 telog
📊📲 telog is an aggregate logs from multiple sources and send real-time notifications to Telegram for efficient monitoring.
🛠️ Building
If you need to build Telog manually, follow these steps:
- Clone the repository:
-
Choose the features you want:
bin_core- Required for all log sourcesls_counter- Counter log sourcels_filesystem- Filesystem log sourcels_journald- Journald log sourcels_docker- Docker log source
-
Build the project with the selected features:
Making .deb package 📦
- Install
cargo-deb:
-
Edit
package.metadata.deb.featuresinCargo.toml. -
Build the package:
- Use the generated package:
Making .rpm package 📦
- Install
cargo-generate-rpm:
- Build the project:
- Strip debug symbols:
- Build the package:
- Use the generated package:
🗑️ Uninstallation
Running the below command will globally uninstall the telog binary.
Remove the project repo
🚀 Usage
-
Create a Telegram bot via @BotFather 🤖
-
Download the latest Telog release from GitHub 📥
-
Install it:
- For
.debbased Linux:
- For
.rpmbased Linux:
-
Find out the chat ID with your bot (see chat_id.md for details) 🆔
-
Change the configuration file (
/etc/telog.yamlin Linux) (see config.md for details) ⚙️ -
Run Telog:
- Add it to autostart:
🤝 How to contribute
We welcome contributions!
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature; - Commit your changes:
git commit -m "feat: my new feature"; - Push to your branch:
git push origin my-feature.
Once your pull request has been merged, you can delete your branch.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.