This release introduces powerful Log filtering options, Swarm support, and better customization.
New Features
- Docker Swarm Support (experimental) (#14)
- LoggiFly now supports monitoring containers from Docker Swarm services.
It is still marked as experimental because I dont have much experience with docker swarm
and can not say for certain whether it works flawlessly.
(Details & Examples in the README)
- LoggiFly now supports monitoring containers from Docker Swarm services.
- Advanced Log Filtering & Templates
- You can now extract values from log lines and only display the relevant parts in your notification by using templates using either a
json_template
for structured (JSON) logs or named capturing groups in your regular expression +template
for plain text log entries (here are more details.) - Screenshots using templates
- You can now extract values from log lines and only display the relevant parts in your notification by using templates using either a
- Custom Notification Titles
- Define your own
notification_title
using{container}
and{keywords}
variables.
- Define your own
- Webhook Integration
- Send structured JSON data to your own endpoints for integration into custom workflows.
- Cleaner Titles when regex pattern was found
- Use
hide_pattern_in_title: true
with your Regex Pattern to hide complex regex from titles and improve readability.
- Use
- Disable Container Start Notifications
- Set
DISABLE_CONTAINER_EVENT_MESSAGE=true
ordisable_container_event_mesage: true
(config.yaml) to skip messages when a container starts being monitored. (#19)
- Set
Other Changes
- Simplified Notifications on config reload
- On config reload, only one summary message is sent for all monitored and inactive containers.
- Fix: config.yaml and environment variables for notification services and values would not merge correctly.
- Fix: container not found error when containers stop
New Configuration Options
Environment Variables:
LOGGIFLY_MODE
DISABLE_CONTAINER_EVENT_MESSAGE
config.yaml:
swarm_services
notification_title
hide_pattern_in_title
disable_container_event_mesage
Full Changelog: 1.2.1...1.3.0