Overview of LoggiFly
mainLoggiFly is a lightweight tool designed to monitor Docker container logs for predefined keywords or regular expression (regex) patterns. When a match is detected, it can send notifications through various channels and perform automated actions on the monitored containers.
Key Capabilities:
- Pattern Detection: Supports plain text, regex, and multi-line log detection.
- Automated Actions: Can trigger a container restart or stop a container entirely upon detecting critical keywords.
- Notification Channels: Integrates with Ntfy or Apprise (which supports 100+ services like Slack, Discord, and Telegram).
- Contextual Alerts: Can automatically attach log files to notifications for better debugging context.
- Dynamic Configuration: Automatically reloads the
config.yamlfile when changes are detected. - Environment Support: Works with Docker, Docker Swarm, and Podman, and can connect to multiple remote Docker hosts.