telog 0.1.1

Aggregate logs from various sources and send real-time notifications to Telegram for easy monitoring.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Determining chat ID

The telog needs a Telegram chat id to send messages. To determine it, you can use telog's echo-id mode. In this mode, telog will report (both in Telegram and in the console) the id of the chats. Just run telog in this mode e.g. `telog echo_id -t <bot token>`, and:

- For private chats send to bot any message
- For group chats add the bot to this chat
- For channels forward a message from this channel to the bot (and don't forget to add the bot to the channel administrators)

```sh
$ telog echo_id -t 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
The ID of chat with @seevmx: 79098882
The chat ID of group "test group": -49301488
The chat ID of channel "test channel": -10018818605
```

Run `telog echo_id --help` for see a full list of available options. Alternatively, you can use the [@RawDataBot](https://t.me/RawDataBot).