Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Login Monitor

31 sites No security coverage Drupal 11 · not 10
View on drupal.org

This module tracks user login and logout events, including successful and failed attempts. It can send email notifications about these activities and generate periodic statistical reports for administrators.

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.

Depends on

Dependencies of the latest stable release

  • Token
  • user Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Jul 2025
Latest release
3 weeks ago
Releases (12 mo)
3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.1.1 Stable 11 Aug 7, 2026
1.1.0 Stable 11 May 24, 2026
1.x-dev Dev 11 Oct 22, 2025
1.0.2 Stable 11 Jul 22, 2025
1.0.1 Stable 11 Jul 18, 2025
1.0.0 Stable 11 Jul 18, 2025