Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

ai_watchdog_analyst

2 sites No security coverage
View on drupal.org

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.

Activity

Total releases
4
First release
Mar 2026
Latest release
3 months ago
Release cadence
0 days
Stability
75% stable

Release Timeline

Releases

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