Skip to main content

Prerequisites

Before installing Wazuh Dashboard Plugins, ensure you have the following:
1

Node.js

Install Node.js version 22.22.0 (as specified in .nvmrc)
2

Yarn Package Manager

Install Yarn for dependency management
3

OpenSearch Dashboards

Have a compatible OpenSearch Dashboards instance (version 3.5.0 for Wazuh 5.0.0)

Installation Methods

Method 1: Development Installation

For development purposes, you’ll work with the source code directly.
1

Clone the Repository

2

Install Dependencies

Install dependencies for each plugin:
3

Generate API Data

Update API information from the Wazuh server specification:

Method 2: Building from Source

Build distributable plugin packages for installation.
1

Set Environment Variables

2

Build the Main Plugin

The build artifact will be created in plugins/main/build/
3

Build Core Plugins

4

Install to OpenSearch Dashboards

Plugins must be installed in the correct order due to dependencies:
  1. wazuh-core
  2. wazuh-check-updates
  3. main (wazuh)

Docker Development Environment

Wazuh provides Docker-based development environments for easier setup.

Prerequisites

1

Install Docker Desktop

Install Docker Desktop with Docker Compose v2.20.2 or higher
2

Create Docker Networks

3

Install Loki Driver

4

Allocate Resources

Configure Docker Desktop with:
  • Minimum 8 GB RAM
  • 4 CPU cores
5

Set Up Permissions (Linux)

Starting the Development Environment

Working Inside the Container

1

Attach to Container

2

Install Dependencies

3

Start OpenSearch Dashboards

Configuration

Plugin Dependencies

The main Wazuh plugin requires these OpenSearch Dashboards plugins:
  • navigation
  • data
  • dashboard
  • embeddable
  • discover
  • inspector
  • visualizations
  • uiActions
  • charts
  • savedObjects
  • opensearchDashboardsReact
  • opensearchDashboardsUtils
  • opensearchDashboardsLegacy
  • wazuhCheckUpdates
  • wazuhCore
  • security
  • securityDashboards
  • searchguard
  • telemetry
  • notificationsDashboards
  • alertingDashboards
  • reportsDashboards

Package.json Overview

The main plugin’s package.json defines:

Key Scripts

Post-Installation

Verify Installation

1

Check Plugin List

You should see:
  • wazuh@5.0.0-00
  • wazuhCore@5.0.0-00
  • wazuhCheckUpdates@5.0.0-00
2

Start OpenSearch Dashboards

3

Access the Dashboard

Navigate to http://localhost:5601 and verify the Wazuh plugin appears in the menu

Health Check

The Wazuh plugin includes automatic health checks that run on startup:
  • Index pattern validation
  • API connectivity tests
  • Server compatibility checks
  • Default configuration setup
Check the OpenSearch Dashboards logs at logs/opensearch_dashboards.log if you encounter issues during startup.

Troubleshooting

Common Issues

Ensure you’re using Node.js 22.22.0:
Clear the build cache and reinstall:
On Linux, ensure proper group permissions:
Check plugin dependencies are installed in correct order and that opensearch_dashboards.json specifies the right platform version.

Next Steps

Quickstart Guide

Set up your first Wazuh environment

Compatibility Matrix

Check version compatibility

Contributing

Learn how to contribute

Development Guide

Review coding standards