LogWatch — Log File Monitor + Telegram Alerts

    2

    Tail log files, filter by regex patterns, and send Telegram alerts when errors or warnings appear.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    LogWatch — Log File Monitor + Telegram Alerts

    Example session with this skill installed

    Monitor /var/log/nginx/error.log for 404 errors and send a notification to my Telegram group.

    • Read your context and instructions
    • Compiled the logwatch

    [LOGWATCH] Alert triggered: Standard Error detected in /var/log/nginx/error.log
    Pattern: "404 Not Found"
    Timestamp: 2023-10-27 14:05:22
    Message: 192.168.1.1 - - [27/Oct/2023:14:05:22 +0000] "GET /api/v1/admin HTTP/1.1" 404 153 "-" "Mozilla/5.0"
    Sent to Telegram group ID: -100123456789

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Monitor log files in real-time. Configure patterns to watch for (errors, warnings, exceptions) and get Telegram alerts the moment they appear.

    Features

    • Watch any log file — /var/log/syslog, app logs, access logs
    • Custom regex patterns — ERROR, WARN, or your own
    • Smart position tracking — only reads new lines since last check
    • Alerts sent to Telegram with file path, matched pattern, and line content
    • Configurable severity levels (high, medium, low)
    • MIT licensed

    Install

    unzip logwatch-agensi.zip && npm install --production && node src/index.js watch

    Edit config.json with your log file paths and patterns. Set TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID in .env.

    Example config.json: {"files": ["/var/log/syslog"], "patterns": [{"name":"ERROR","regex":"error|failed|exception","severity":"high"}]}

    Requires: Node.js v18+, Telegram account (free).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    • No support for log rotation handling (moving files).
    • Requires manual Telegram bot/chat ID setup.
    • Performance may lag on files >500MB.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 months ago

    Accounts
    Telegram
    Software
    Node.js

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.telegram.org
    Listed6 months ago

    What's inside

    Frequently Asked Questions

    LogWatch provides real-time monitoring of your server and application log files. It automatically scans for specific patterns like "ERROR" or "Exception" and instantly notifies you via Telegram, ensuring you catch critical system issues without manually tailing logs.

    LogWatch is a standalone Node.js-based skill that can be integrated into most AI agent frameworks or run as a background service. It requires Node.js v18+ and handles its own logic for file monitoring and alerting.

    No, LogWatch uses smart position tracking to remember the last line read in every file. This prevents duplicate alerts and ensures that the skill only processes new log entries created since the last check.

    Setup is straightforward: install dependencies via npm, configure your log paths and regex patterns in config.json, and add your Telegram credentials to the .env file. You can be up and running in less than five minutes.

    Yes, you can monitor multiple files simultaneously (e.g., both /var/log/syslog and your specific app logs) and define unique regex triggers and severity levels for each one within the configuration.

    You receive the full source code (MIT Licensed), a detailed configuration guide, and the necessary scripts to run the monitor. Any future updates to the LogWatch core logic will be available through your marketplace account.

    New in DevOps & Cloud