Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 10.6.17 Update released for Drupal core (10.6.17)! Release: Drupal 11.3.17 Update released for Drupal core (11.3.17)! Release: Drupal 11.4.7 Update released for Drupal core (11.4.7)! Release: Linkit 7.0.17 Minor update available for module linkit (7.0.17). Release: Geocoder 8.x-4.36 Minor update available for module geocoder (8.x-4.36). Release: Radix 6.0.9 Minor update available for theme radix (6.0.9). Release: Configuration Inspector 2.1.12 Minor update available for module config_inspector (2.1.12). Release: Field Sample Value 1.1.0 Minor update available for module field_sample_value (1.1.0). Usage Milestone: Schemata Module schemata crossed 1,000 active installs. Module Revived: Backlinks Index 1.1.5 Module backlinks_index updated after 7 months of inactivity (1.1.5).

Log Plotly Chart

No security coverage Drupal 11 · not 10

Part of the LOG ecosystem · 7 projects

View on drupal.org

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

Depends on

Dependencies of the latest stable release

  • dblog Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

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