Prerequisites
Before installing Wazuh Dashboard Plugins, ensure you have the following:Node.js
.nvmrc)Yarn Package Manager
OpenSearch Dashboards
Installation Methods
Method 1: Development Installation
For development purposes, you’ll work with the source code directly.Clone the Repository
Install Dependencies
Generate API Data
Method 2: Building from Source
Build distributable plugin packages for installation.Set Environment Variables
Build the Main Plugin
plugins/main/build/Build Core Plugins
Install to OpenSearch Dashboards
Docker Development Environment
Wazuh provides Docker-based development environments for easier setup.Prerequisites
Install Docker Desktop
Create Docker Networks
Install Loki Driver
Allocate Resources
- Minimum 8 GB RAM
- 4 CPU cores
Set Up Permissions (Linux)
Starting the Development Environment
Working Inside the Container
Attach to Container
Install Dependencies
Start OpenSearch Dashboards
Configuration
Plugin Dependencies
The main Wazuh plugin requires these OpenSearch Dashboards plugins:Required Plugins
Required Plugins
navigationdatadashboardembeddablediscoverinspectorvisualizationsuiActionschartssavedObjectsopensearchDashboardsReactopensearchDashboardsUtilsopensearchDashboardsLegacywazuhCheckUpdateswazuhCore
Optional Plugins
Optional Plugins
securitysecurityDashboardssearchguardtelemetrynotificationsDashboardsalertingDashboardsreportsDashboards
Package.json Overview
The main plugin’s package.json defines:Key Scripts
Post-Installation
Verify Installation
Check Plugin List
wazuh@5.0.0-00wazuhCore@5.0.0-00wazuhCheckUpdates@5.0.0-00
Start OpenSearch Dashboards
Access the Dashboard
http://localhost:5601 and verify the Wazuh plugin appears in the menuHealth Check
The Wazuh plugin includes automatic health checks that run on startup:- Index pattern validation
- API connectivity tests
- Server compatibility checks
- Default configuration setup
Troubleshooting
Common Issues
Node Version Mismatch
Node Version Mismatch
Build Failures
Build Failures
Docker Permission Errors
Docker Permission Errors
Plugin Not Loading
Plugin Not Loading