LoggiFly is a lightweight, open-source monitoring tool designed to watch Docker container logs in real time and trigger alerts, notifications, or automated actions based on predefined keywords or regular expression patterns. Instead of manually scanning logs for issues or relying solely on centralized monitoring stacks, LoggiFly proactively inspects streams of container output and notifies users through services like Ntfy, Slack, Discord, Telegram, or webhooks when significant events occur. It supports plain text, regex, and multi-line pattern matching, and its flexible alert templating lets operators tailor messages for clarity and context, including attaching relevant log excerpts. Beyond notifications, LoggiFly can take automated actions such as restarting or stopping containers when specific critical patterns are detected, which is especially useful for preventing damage from misbehaving services.
Features
- Real-time Docker log analysis
- Keyword and regex pattern detection
- Ntfy and Apprise notification integration
- Automated container actions on triggers
- Multi-host and remote monitoring options
- Automatic config reload on change