Drupal is a registered trademark of Dries Buytaert
Release: Trash 3.0.31 Minor update available for module trash (3.0.31). Release: Editoria11y Accessibility Checker 3.0.8 Minor update available for module editoria11y (3.0.8). Release: UI Icons 2.0.0 Major update available for module ui_icons (2.0.0). Release: Project Browser Localizer 3.0.6 Minor update available for module pb_localizer (3.0.6). Release: FileGate 1.6.1 Minor update available for module file_gate (1.6.1). Release: FileGate 1.6.0 Minor update available for module file_gate (1.6.0). Release: NoBotIQ Spam Protection 1.1.1 Minor update available for module nobotiq_spam_protection (1.1.1). Release: AI Metering 1.0.0 Initial release available for module ai_metering (1.0.0)! Module Revived: MaxLength 3.2.0 Module maxlength updated after 11 months of inactivity (3.2.0). Usage Milestone: Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module displays a live, interactive line chart of Drupal's database logs, automatically categorizing them into separate lines for easier viewing. Administrators can toggle log types on and off in real-time through a legend.

Log Plotly Chart

This module displays a real-time, dynamic line chart featuring the latest database log entries (from Drupal's core `dblog` module) using a completely local installation of the Plotly.js library.

Instead of showing a single messy timeline, the module automatically processes and splits the logs into separate, independent lines (traces) based on their category type (e.g., `php`, `cron`, `user`, `content`, `page not found`). It also features an interactive legend on the right side that allows administrators to show or hide specific log types in real-time.

---

Requirements
Drupal 11 core.

Core Database Logging (dblog) module enabled (writes events to the local watchdog table).

Installation & Library Manual Setup
To keep this module lightweight and independent of third-party wrappers or network-dependent CDNs, the Plotly JavaScript asset must be placed locally in the file system:

Create a plotly subdirectory inside your global Drupal root libraries folder:

/libraries/plotly/

Download the official production-ready minified Plotly script (plotly-latest.min.js) from the official project distribution channels:

Direct Download Link: https://cdn.plot.ly/plotly-latest.min.js

Move that file into the directory you just created. The final path must match this exact pattern:

/libraries/plotly/plotly-latest.min.js

Enable the Log Plotly Chart module from your Extend administrative interface (/admin/modules) or using Drush:

Bash
drush en log_plotly_chart

Directory Structure

blueprint of the complete module package:

```text
modules/custom/log_plotly_chart/
├── log_plotly_chart.info.yml
├── log_plotly_chart.libraries.yml
├── log_plotly_chart.routing.yml
├── log_plotly_chart.links.menu.yml
├── log_plotly_chart.module
├── README.md
├── config/
│ └── install/
│ └── log_plotly_chart.settings.yml
├── css/
│ └── log_chart.css
├── src/
│ ├── Form/
│ │ └── SettingsForm.php
│ └── Plugin/
│ └── Block/
│ └── LogChartBlock.php
└── js/
└── log_chart.js

Activity

Tracked releases
2
Tracked since
Jun 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jun 19, 2026
1.0.x-dev Dev Jun 19, 2026