Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

AI Watchdog Analyst

No security coverage Drupal 10–11

Part of the AI ecosystem · 302 projects

View on drupal.org

AI Watchdog Analyst integrates with your Drupal Watchdog logs to provide instant AI-powered debugging assistance. It offers detailed solutions, root cause analysis, and code examples for errors directly within your Drupal admin interface, even checking Drupal.org issue queues for contrib modules.

Tired of spending hours debugging Drupal errors? AI Watchdog Analyst connects your
Watchdog log list to an AI chat provider and delivers instant, detailed solutions —
including root cause analysis, code examples, and automatic issue queue lookups for
contrib modules — directly in your Drupal admin.

Features

  • One-click analysis: An "🤖 Analyze" button appears on Warning
    and Error entries in the Watchdog log list (/admin/reports/dblog).
    Click it to open a modal dialog with an AI-generated solution.
  • Detail page integration: An "Analyze with AI" button is also
    available on individual log event pages.
  • Contrib module detection: Automatically detects if the error
    originates from a contrib module and enriches the AI prompt with drupal.org issue
    queue context — including links to known issues, available patches, and fixed
    versions.
  • Markdown rendering: AI responses are rendered with full
    formatting — headers, code blocks, and lists.
  • Multilingual: The AI responds in the current Drupal site
    language.
  • Caching: Analysis results are cached for 24 hours to avoid
    redundant API calls.
  • Configurable system prompt: Customize the AI expert persona
    and instructions via the admin UI.

Post-Installation

  1. Install and configure the AI
    module
    with at least one chat provider (e.g. OpenAI, Azure OpenAI, Ollama).
  2. Go to /admin/config/ai/watchdog-analyst to optionally select
    a specific provider/model and customize the system prompt.
  3. Navigate to /admin/reports/dblog. Warning and Error entries
    will now have an "🤖 Analyze" button in the "AI Solution" column.
  4. Click the button to open a modal with the AI-generated analysis.

No content types, text formats, or additional configuration are required beyond
setting up an AI provider.

Additional Requirements

  • AI module (^1.0) — provides
    the provider plugin system. At least one chat-capable provider must be configured.
  • league/commonmark
    — for rendering markdown AI responses as HTML. Installed automatically via
    Composer.
  • Drupal core Database Logging module (dblog) must be
    enabled.
  • Any AI provider sub-module compatible with the AI module
    (e.g. ai_provider_openai, ai_provider_azure,
    ai_provider_ollama) — choose based on your infrastructure and
    privacy requirements.

Supporting this Module

This module is maintained on a volunteer basis. If you find it useful, the best
ways to support it are:

  • Report bugs and contribute patches in the
    issue queue.
  • Leave a review on the project page.

Community Documentation

Documentation and usage examples are available in the
README.md
file included with the module.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2026
Latest release
6 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Mar 10, 2026
1.0.1 Stable 10–11 Mar 10, 2026
1.0.0 Stable 10–11 Mar 10, 2026
1.0.x-dev Dev 10–11 Mar 10, 2026