drakarah/LoggiFly

Get Alerts from your Docker Container Logs

โ˜… 0Forks 0GitHub โ†—Compare

Project website โ†—

README

LoggiFly

Documentation Report Bug Request Feature

LoggiFly - A Lightweight Tool that monitors Docker Container Logs for predefined keywords or regex patterns and sends Notifications.

Get instant alerts for security breaches, system errors, or custom patterns through your favorite notification channels. ๐Ÿš€

Ideal For:

  • โœ… Catching security breaches (e.g., failed logins in Vaultwarden)
  • โœ… Debugging crashes with attached log context
  • โœ… Restarting containers on specific errors or stopping them completely to avoid restart loops
  • โœ… Monitoring custom app behaviors (e.g., when a user downloads an audiobook on your Audiobookshelf server)
Failed Vaultwarden Login

๐Ÿš€ Features

  • ๐Ÿ” Plain Text, Regex & Multi-Line Log Detection: Catch simple keywords or complex patterns in log entries that span multiple lines.
  • ๐Ÿšจ Ntfy/Apprise Alerts: Send notifications directly to Ntfy or via Apprise to 100+ different services (Slack, Discord, Telegram) or even to your own custom endpoint.
  • ๐Ÿ” Trigger Stop/Restart: A restart/stop of the monitored container can be triggered on specific critical keywords.
  • ๐Ÿ“ Log Attachments: Automatically include a log file to the notification for context.
  • โšก Automatic Reload on Config Change: The program automatically reloads the config.yaml when it detects that the file has been changed.
  • ๐Ÿ“ Configurable Alerts: Filter log lines for relevant information and use templates for your messages and notification titles.
  • ๐ŸŒ Remote Hosts: Connect to multiple remote Docker hosts.
  • ๐Ÿณ Multi-Platform Support: LoggiFly runs on Docker, Docker Swarm and Podman

๐Ÿ–ผ Screenshots

collage of screenshots

๐ŸŽฏ Customize notifications and filter log lines for relevant information:

Custom Tepmplates Collage

Documentation

Support

If you find LoggiFly useful, drop a โญ๏ธ on the repo or buy me a coffee!

Buy Me A Coffee

Star History

Star History Chart

License

MIT

Contributors

clemcerbartokwiatelsherif896eltociear

Issues