Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dobanov/mon_log_and_send_keywords_to_telegram

it monitors log(s) and send messages with keyword(s) to telegram
https://github.com/dobanov/mon_log_and_send_keywords_to_telegram

log logging monitoring telegram telegram-bot

Last synced: 5 days ago
JSON representation

it monitors log(s) and send messages with keyword(s) to telegram

Awesome Lists containing this project

README

        

This program monitors the log file(s) and sends new lines from the log file(s) containing keyword(s) to the Telegram chat/bot.

g++ -o tg_send tg_send.cpp -lcurl
/
g++ -std=c++17 -o tg_send tg_send.cpp -lcurl

Options:

--filename Path to the log file(s)

--keyword Keyword(s) to watch for in the log file(s)

--n Number of words to include in the message

--bot-id Telegram Bot ID

--chat-id Telegram Chat ID(s)