Drupal is a registered trademark of Dries Buytaert

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
4 days 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