Drupal is a registered trademark of Dries Buytaert

login_monitor

13 sites No security coverage
View on drupal.org

The Login Monitor module provides comprehensive tracking and monitoring of user login activities on your Drupal site. It logs successful logins, failed login attempts, and logout events, while offering configurable email notifications and periodic statistical reports to help administrators monitor site security and user activity patterns.

Features

Login activity logging

  • Tracks successful logins (including one-time login links)
  • Logs failed login attempts (invalid users, valid users, blocked users)
  • Records logout events
  • Stores IP addresses, user agents, and timestamps

Email notifications

  • Real-time email notifications for login events
  • Configurable email templates with token support
  • Role-based filtering for notifications
  • Customizable recipient addresses

Statistical reports

  • Periodic email reports (daily, weekly, monthly)
  • Login activity summaries and statistics
  • Failed login attempt analysis
  • User activity patterns

Administrative interface

  • Filterable and sortable login event listings
  • Detailed event information including IP addresses and user agents

Data management

  • Configurable log retention periods
  • Automatic cleanup of old log entries
  • Bulk operations for log management

Drush commands

The module provides the following Drush command:

drush login-monitor:send-reports

This command manually triggers the sending of statistical reports. It's useful for testing report functionality or sending reports outside of the normal schedule.

Requirements

Token module is required. Core System, User and Views modules must be installed and enabled.

Similar projects

  • ECA: A comprehensive event-driven automation framework that can handle user login events among many other Drupal events. While ECA is more powerful and flexible, it requires significant configuration and technical knowledge to set up login monitoring workflows. ECA is ideal for complex automation needs but overkill if you only need login monitoring.
  • Events Log Track: Log more event types than just user logins. No notifications and statistical reports.
  • Login History: Doesn't log failed login attempts, missing role tracking. No notifications and statistical reports. Provides block with information about the user's last login.
  • User Login Tracker: Lacks some features like email notifications and statistical reports. Doesn't log failed login attempts, missing role tracking. Not compatible with Drupal 11.
  • Login Notification: Not compatible with Drupal 11. Notify via on page messages instead of email. No statistical reports or detailed logging.
  • User Update Notify: Doesn't save logs. Focuses on user updates, not login events. Send email notifications.
  • Login tracker: No further development. Not compatible with Drupal 11.
  • Login Activity: No further development. Not compatible with Drupal 11. Provides basic login tracking without advanced features like email notifications or statistical reports.
  • Sign Up Tracker: Logs only user registrations. Not compatible with Drupal 11.

Activity

Total releases
4
First release
Jul 2025
Latest release
4 months ago
Release cadence
32 days
Stability
75% stable

Release Timeline

Releases

Version Type Release date
1.x-dev Dev Oct 22, 2025
1.0.2 Stable Jul 22, 2025
1.0.1 Stable Jul 18, 2025
1.0.0 Stable Jul 18, 2025