---
title: How to Deploy Wazuh – Open-Source SIEM and XDR Platform
url: https://docs.vultr.com/how-to-deploy-wazuh-open-source-siem-and-xdr-platform
description: Deploy a single-node Wazuh stack on a Linux server using Docker Compose with Traefik for HTTPS, then enroll an agent and view failed SSH login alerts.
publish_date: 2026-11-30T19:36:41.176522Z
last_updated: 2026-11-30T19:45:13.529766Z
author: Mercy Bassey
header_image: https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/c5b209df-95cc-48fb-a97e-db558ecd2d5a.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

[Wazuh](https://github.com/wazuh/wazuh) is an open-source unified Extended Detection and Response (XDR) and Security Information and Event Management (SIEM) platform. It collects and analyzes logs from multiple log sources to detect known threats and adversary techniques mapped to the MITRE ATT&CK Framework. Wazuh detects and prevents threats across endpoints, containers, networks, servers, and cloud environments in real time.

The Wazuh architecture consists of:

* **Wazuh agent**: An endpoint component installed on log sources to collect logs and security events and forward them securely to the Wazuh server.
* **Wazuh server**: A central component that receives security events from Wazuh agents, analyzes them through its core analysis engine (the Wazuh manager), and generates alerts based on rules and threat intelligence.
* **Wazuh indexer**: The search and storage layer of the Wazuh architecture that is built on OpenSearch and makes alerts available for querying and long-term retention.
* **Wazuh dashboard**: A web interface that is built on OpenSearch Dashboards where users can view alerts and events, and manage Wazuh agents.

This article explains how to deploy a single-node Wazuh stack consisting of the Wazuh server, indexer, and dashboard on a Linux server with Docker Compose, expose the dashboard over HTTPS with Traefik, and deploy a Wazuh agent.

## Prerequisites

Before you begin, you need to:

* Have access to a [Linux-based server](https://docs.vultr.com/products/compute/cloud-compute/provisioning) with at least 4 CPU cores, 8 GB RAM, and 50 GB disk space, as a [non-root user with sudo privileges](https://docs.vultr.com/limited-user-login).
* [Update your package index](https://docs.vultr.com/how-to-update-a-vultr-cloud-server) and install [Git](https://docs.vultr.com/how-to-install-git-on-ubuntu-24-04) and [Docker and Docker Compose](https://docs.vultr.com/how-to-install-docker-on-ubuntu-24-04#install-docker).
* Have access to a [domain](https://docs.vultr.com/products/network/dns/management/manage-records) with a single A record pointing to the server's public IP address (for example, `wazuh.example.com`). Multiple A records for the same domain can cause TLS certificate validation to fail intermittently.

## Set Up the Directory Structure and Configuration

Before any Wazuh container starts, the host needs two changes: `docker` group membership so Compose commands run without `sudo`, and a higher kernel memory-map limit, since most Linux distributions default to a value too low for the Wazuh indexer. The Docker Compose configuration itself lives in a separate GitHub repository, pinned to a release tag rather than the default branch.

### Configure Docker Access

Membership in the `docker` group lets your user run the Docker Compose commands in this article without `sudo`.

1. Add your user to the `docker` group to run Docker commands without `sudo`.

    ```console
    $ sudo usermod -aG docker $USER
    ```

1. Apply the group change to the current session.

    ```console
    $ newgrp docker
    ```

### Configure Docker Host Requirements

Before deploying Wazuh, the underlying server must allow at least `262144` memory map areas, the value controlled by the kernel parameter `vm.max_map_count`. Some Linux distributions use a lower default, which is insufficient for the Wazuh indexer to memory map index segments.

1. Check the default value of memory map areas.

    ```console
    $ sysctl vm.max_map_count
    ```

    If the output is `262144` or higher, skip the next two steps. Ubuntu 24.04, for example, already defaults to `1048576`, and setting `262144` would lower the limit.

1. If the value is lower than `262144`, raise it in your active terminal session.

    ```console
    $ sudo sysctl -w vm.max_map_count=262144
    ```

1. If you raised the value, make the change persistent across reboots.

    ```console
    $ echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf
    ```

    > [!NOTE]
    > Use `cat /etc/sysctl.conf` to verify that the file ends with `vm.max_map_count=262144`.

### Clone the Wazuh Docker Repository

The Wazuh Docker repository on GitHub contains Docker Compose configurations to deploy the Wazuh stack. Clone this repository and check out a specific release tag.

1. Clone the Wazuh Docker repository and check out the `v4.14.7` release.

    ```console
    $ git clone https://github.com/wazuh/wazuh-docker.git -b v4.14.7
    ```

    > [!NOTE]
    > Check the [wazuh-docker releases page](https://github.com/wazuh/wazuh-docker/releases) for the latest stable release, and replace `v4.14.7` with that tag if a newer one is available.

1. Go into the `single-node` subdirectory.

    ```console
    $ cd wazuh-docker/single-node/
    ```

1. Generate the Wazuh self-signed TLS certificates.

    ```console
    $ docker compose -f generate-indexer-certs.yml run --rm generator
    ```

    The generated certificates allow the Wazuh manager, indexer, and dashboard to authenticate each other and communicate securely over TLS.

## Deploy with Docker Compose

Traefik acts as a reverse proxy, routing external traffic to the Wazuh dashboard under a custom domain with a valid HTTPS certificate, while the Wazuh stack continues to use self-signed certificates internally.

### Configure Traefik to Trust the Wazuh Dashboard Certificate

To establish a trusted HTTPS connection to the Wazuh dashboard, Traefik must validate the dashboard's self-signed certificate against the Wazuh root Certificate Authority (CA), using a [serversTransport](https://doc.traefik.io/traefik/reference/routing-configuration/http/load-balancing/serverstransport/) that references the certificate.

1. Create a directory for Traefik certificates in the `wazuh-docker/single-node/` directory.

    ```console
    $ mkdir -p traefik/certificates
    ```

1. Copy the Wazuh root CA certificate to the `traefik/certificates` directory.

    ```console
    $ sudo cp config/wazuh_indexer_ssl_certs/root-ca.pem traefik/certificates/wazuh-root-ca.pem
    ```

1. Move into the `traefik` directory.

    ```console
    $ cd traefik
    ```

1. Open a configuration file called `dynamic.yml`.

    ```console
    $ nano dynamic.yml
    ```

1. Define the `serversTransport` to trust the Wazuh root CA.

    ```yml
    http:
      serversTransports:
        wazuh-transport:
          serverName: wazuh.dashboard
          rootCAs:
            - /etc/traefik/certificates/wazuh-root-ca.pem
    ```

    Save and close the file.

### Create the Docker Compose File

The repository's default Compose file publishes the dashboard directly. Replace it with a configuration that places Traefik in front of the dashboard, stores data in host directories, and reads credentials from an environment file.

1. Navigate to the single-node subdirectory.

    ```console
    $ cd ..
    ```

1. Remove the default `docker-compose.yml` file.

    ```console
    $ rm docker-compose.yml
    ```

1. Create the `.env` file that Docker Compose reads for the Traefik and Wazuh services.

    ```console
    $ nano .env
    ```

1. Add the following variables:

    ```ini
    LETSENCRYPT_EMAIL_ADDRESS=admin@example.com
    WAZUH_DASHBOARD_DOMAIN=wazuh.example.com
    INDEXER_PASSWORD=INDEXER_PASSWORD
    DASHBOARD_PASSWORD=DASHBOARD_PASSWORD
    API_PASSWORD=API_PASSWORD
    ```

    Replace:

    * `admin@example.com` with a valid email address for Let's Encrypt certificate notifications.
    * `wazuh.example.com` with the domain name you configured to point to your server.
    * `INDEXER_PASSWORD` and `DASHBOARD_PASSWORD` with a strong, unique password for the [Wazuh indexer users](https://documentation.wazuh.com/current/deployment-options/docker/changing-default-password.html#wazuh-indexer-user), `admin` and `kibanaserver` respectively.

        The `admin` user is used for logging into the Wazuh dashboard, and the `kibanaserver` user serves as a service account for communication between the Wazuh dashboard and the Wazuh indexer.
    * `API_PASSWORD` with a strong, unique password for the [Wazuh server API user](https://documentation.wazuh.com/current/deployment-options/docker/changing-default-password.html#wazuh-server-api-users), `wazuh-wui`. It must be between `8` and `64` characters and must include uppercase and lowercase letters, numbers, and symbols.

    Save and close the file.

1. Restrict access to the `.env` file so that only your account can read or modify it.

    ```console
    $ chmod 600 .env
    ```

    The `.env` file contains the credentials for your Wazuh deployment. Do not upload it to a public repository or include its contents in screenshots.

1. Open a new Docker Compose file with `nano`.

    ```console
    $ nano docker-compose.yml
    ```

1. Add the following configuration:

    ```yml
    services:
      traefik:
        image: traefik:v3.7.12
        restart: unless-stopped
        command:
          - "--providers.docker=true"
          - "--providers.docker.exposedbydefault=false"
          - "--providers.file.filename=/etc/traefik/dynamic.yml"
          - "--entrypoints.websecure.address=:443"
          - "--certificatesresolvers.letsencrypt.acme.tlschallenge=true"
          - "--certificatesresolvers.letsencrypt.acme.email=${LETSENCRYPT_EMAIL_ADDRESS}"
          - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
        ports:
          - "443:443"
        volumes:
          - "/var/run/docker.sock:/var/run/docker.sock:ro"
          - "./traefik/dynamic.yml:/etc/traefik/dynamic.yml:ro"
          - "./traefik/certificates:/etc/traefik/certificates:ro"
          - "./letsencrypt:/letsencrypt"
        networks:
          - default
          - traefik

      wazuh.manager:
        image: wazuh/wazuh-manager:4.14.7
        hostname: wazuh.manager
        restart: always
        ulimits:
          memlock:
            soft: -1
            hard: -1
          nofile:
            soft: 655360
            hard: 655360
        ports:
          - "1514:1514"
          - "1515:1515"
        environment:
          - INDEXER_URL="https://wazuh.indexer:9200"
          - INDEXER_USERNAME=admin
          - INDEXER_PASSWORD=${INDEXER_PASSWORD}
          - FILEBEAT_SSL_VERIFICATION_MODE=full
          - SSL_CERTIFICATE_AUTHORITIES=/etc/ssl/root-ca.pem
          - SSL_CERTIFICATE=/etc/ssl/filebeat.pem
          - SSL_KEY=/etc/ssl/filebeat.key
          - API_USERNAME=wazuh-wui
          - API_PASSWORD=${API_PASSWORD}
        volumes:
          - ./data/wazuh_api_configuration:/var/ossec/api/configuration
          - ./data/wazuh_etc:/var/ossec/etc
          - ./data/wazuh_logs:/var/ossec/logs
          - ./data/wazuh_queue:/var/ossec/queue
          - ./data/wazuh_var_multigroups:/var/ossec/var/multigroups
          - ./data/wazuh_integrations:/var/ossec/integrations
          - ./data/wazuh_active_response:/var/ossec/active-response/bin
          - ./data/wazuh_agentless:/var/ossec/agentless
          - ./data/wazuh_wodles:/var/ossec/wodles
          - ./data/filebeat_etc:/etc/filebeat
          - ./data/filebeat_var:/var/lib/filebeat
          - ./config/wazuh_indexer_ssl_certs/root-ca-manager.pem:/etc/ssl/root-ca.pem
          - ./config/wazuh_indexer_ssl_certs/wazuh.manager.pem:/etc/ssl/filebeat.pem
          - ./config/wazuh_indexer_ssl_certs/wazuh.manager-key.pem:/etc/ssl/filebeat.key
          - ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf

      wazuh.indexer:
        image: wazuh/wazuh-indexer:4.14.7
        hostname: wazuh.indexer
        restart: always
        environment:
          - "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
        ulimits:
          memlock:
            soft: -1
            hard: -1
          nofile:
            soft: 65536
            hard: 65536
        volumes:
          - ./data/wazuh-indexer-data:/var/lib/wazuh-indexer
          - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-indexer/config/certs/root-ca.pem
          - ./config/wazuh_indexer_ssl_certs/wazuh.indexer-key.pem:/usr/share/wazuh-indexer/config/certs/wazuh.indexer.key
          - ./config/wazuh_indexer_ssl_certs/wazuh.indexer.pem:/usr/share/wazuh-indexer/config/certs/wazuh.indexer.pem
          - ./config/wazuh_indexer_ssl_certs/admin.pem:/usr/share/wazuh-indexer/config/certs/admin.pem
          - ./config/wazuh_indexer_ssl_certs/admin-key.pem:/usr/share/wazuh-indexer/config/certs/admin-key.pem
          - ./config/wazuh_indexer/wazuh.indexer.yml:/usr/share/wazuh-indexer/config/opensearch.yml
          - ./config/wazuh_indexer/internal_users.yml:/usr/share/wazuh-indexer/config/opensearch-security/internal_users.yml

      wazuh.dashboard:
        image: wazuh/wazuh-dashboard:4.14.7
        hostname: wazuh.dashboard
        restart: always
        environment:
          - INDEXER_USERNAME=admin
          - INDEXER_PASSWORD=${INDEXER_PASSWORD}
          - WAZUH_API_URL=https://wazuh.manager
          - DASHBOARD_USERNAME=kibanaserver
          - DASHBOARD_PASSWORD=${DASHBOARD_PASSWORD}
          - API_USERNAME=wazuh-wui
          - API_PASSWORD=${API_PASSWORD}
        labels:
          - "traefik.enable=true"
          - "traefik.http.routers.wazuh.rule=Host(`${WAZUH_DASHBOARD_DOMAIN}`)"
          - "traefik.http.routers.wazuh.entrypoints=websecure"
          - "traefik.http.routers.wazuh.tls.certresolver=letsencrypt"
          - "traefik.http.services.wazuh.loadbalancer.server.port=5601"
          - "traefik.http.services.wazuh.loadbalancer.server.scheme=https"
          - "traefik.http.services.wazuh.loadbalancer.serversTransport=wazuh-transport@file"
        volumes:
          - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard.pem
          - ./config/wazuh_indexer_ssl_certs/wazuh.dashboard-key.pem:/usr/share/wazuh-dashboard/certs/wazuh-dashboard-key.pem
          - ./config/wazuh_indexer_ssl_certs/root-ca.pem:/usr/share/wazuh-dashboard/certs/root-ca.pem
          - ./config/wazuh_dashboard/opensearch_dashboards.yml:/usr/share/wazuh-dashboard/config/opensearch_dashboards.yml
          - ./config/wazuh_dashboard/wazuh.yml:/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
          - ./data/wazuh-dashboard-config:/usr/share/wazuh-dashboard/data/wazuh/config
          - ./data/wazuh-dashboard-custom:/usr/share/wazuh-dashboard/plugins/wazuh/public/assets/custom
        networks:
          - default
          - traefik
        depends_on:
          - wazuh.indexer
        links:
          - wazuh.indexer:wazuh.indexer
          - wazuh.manager:wazuh.manager

    networks:
      traefik:
    ```

    Save and close the file.

    This configuration does the following:
    * Runs Traefik as a reverse proxy for the Wazuh dashboard.
    * Uses Let's Encrypt to obtain and store a valid TLS certificate for `WAZUH_DASHBOARD_DOMAIN`.
    * Uses `wazuh-transport@file` to allow Traefik to validate the Wazuh dashboard's self-signed certificate with the mounted Wazuh root CA certificate.
    * Connects Traefik and the Wazuh dashboard to the `traefik` Docker network.
    * Prevents direct public access to the Wazuh dashboard container by exposing only Traefik on port `443`.
    * Stores Wazuh data in bind-mounted directories under `data/`, and Traefik's Let's Encrypt certificate data in the `letsencrypt` directory.
    * Restarts every container automatically after a reboot or a Docker restart.

    > [!NOTE]
    > * This configuration does not expose the Wazuh indexer on port `9200` or the Wazuh manager API on port `55000` outside the Docker network. It also does not publish syslog port `514/udp` because this deployment does not [collect syslog messages](https://documentation.wazuh.com/current/user-manual/capabilities/log-data-collection/syslog.html) from an external device or server.
    >
    > * If a specific integration requires access to any of these ports, publish the required port in the `docker-compose.yml` file and restrict access to trusted IP addresses only.

1. Create the directories that store the Wazuh data.

    ```console
    $ mkdir -p data/{wazuh_api_configuration,wazuh_etc,wazuh_logs,wazuh_queue,wazuh_var_multigroups,wazuh_integrations,wazuh_active_response,wazuh_agentless,wazuh_wodles,filebeat_etc,filebeat_var,wazuh-indexer-data,wazuh-dashboard-config,wazuh-dashboard-custom}
    ```

    The Wazuh manager copies its default configuration into these empty directories on its first start.

1. Change the ownership of the Wazuh indexer and dashboard directories to UID and GID `1000`, the non-root user that both containers run as.

    ```console
    $ sudo chown -R 1000:1000 data/wazuh-indexer-data data/wazuh-dashboard-config data/wazuh-dashboard-custom
    ```

    Without this step, the indexer cannot write its data and stops, even though `docker compose ps` still reports the container as `Up`.

1. Open the Wazuh dashboard configuration file.

    ```console
    $ nano config/wazuh_dashboard/wazuh.yml
    ```

1. Replace the default value of the `password` field with the same value you set for `API_PASSWORD` in your `.env` file.

    ```yml
    hosts:
      - 1513629884013:
          url: "https://wazuh.manager"
          port: 55000
          username: wazuh-wui
          password: "API_PASSWORD"
          run_as: true
    ```

    Save and close the file.

1. Generate a hash for the passwords you assigned to the `INDEXER_PASSWORD` and `DASHBOARD_PASSWORD` environment variables. Run the command twice, once for each password.

    ```console
    $ docker run --rm -ti wazuh/wazuh-indexer:4.14.7 bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/hash.sh
    ```

    Enter the corresponding password when prompted, and save the resulting hash string each time.

1. Open the `internal_users.yml` configuration file.

    ```console
    $ nano config/wazuh_indexer/internal_users.yml
    ```

1. Update the default hash for the `admin` and `kibanaserver` users with the newly generated hashes.

    ```yml
    admin:
      hash: "INDEXER_PASSWORD_HASH"
      reserved: true
      backend_roles:
        - "admin"
      description: "Demo admin user"

    kibanaserver:
      hash: "DASHBOARD_PASSWORD_HASH"
      reserved: true
      description: "Demo kibanaserver user"
    ```

    Replace:

    * `INDEXER_PASSWORD_HASH` with the hash generated for the `INDEXER_PASSWORD`.
    * `DASHBOARD_PASSWORD_HASH` with the hash generated for the `DASHBOARD_PASSWORD`.

    Save and close the file.

### Start the Wazuh Stack

The Wazuh indexer loads `internal_users.yml` into its security index only when it creates that index on the first start. Running `securityadmin.sh` inside the indexer container after the stack starts applies the password hashes in every case, including later password changes after the security index exists.

1. Start the stack in detached mode.

    ```console
    $ docker compose up -d
    ```

    The first deployment can take several minutes while Docker downloads images and initializes the manager, indexer, and dashboard.

1. Confirm that the Traefik and Wazuh containers are running.

    ```console
    $ docker compose ps
    ```

    Every container shows a status of `Up`.

1. View the Wazuh indexer logs to confirm it initialized without errors.

    ```console
    $ docker compose logs -f wazuh.indexer
    ```

    Press :key_ctrl:+:key_c: to stop following the logs.

1. Access the Wazuh indexer container to apply security changes.

    ```console
    $ docker compose exec -it wazuh.indexer bash
    ```

    Your prompt changes to `bash-5.2$` inside the container.

1. Set the installation and configuration directory variables.

    ```console
    $ export INSTALLATION_DIR=/usr/share/wazuh-indexer
    ```

    ```console
    $ export CONFIG_DIR=$INSTALLATION_DIR/config
    ```

1. Set the certificate path variables.

    ```console
    $ CACERT=$CONFIG_DIR/certs/root-ca.pem
    ```

    ```console
    $ KEY=$CONFIG_DIR/certs/admin-key.pem
    ```

    ```console
    $ CERT=$CONFIG_DIR/certs/admin.pem
    ```

1. Set the Java installation directory.

    ```console
    $ export JAVA_HOME=/usr/share/wazuh-indexer/jdk
    ```

    These variables point the security initialization script (`securityadmin.sh`) to the correct certificates and Java installation.

1. Apply the new credentials and environment variables using the `securityadmin.sh` script.

    ```console
    $ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd $CONFIG_DIR/opensearch-security/ -nhnv -cacert $CACERT -cert $CERT -key $KEY -p 9200 -icl
    ```

    The output ends with `Done with success` when the script applies the configuration.

1. Exit the Wazuh indexer container.

    ```console
    $ exit
    ```

## Access the Wazuh Stack

Traefik requests a Let's Encrypt certificate for `WAZUH_DASHBOARD_DOMAIN` the first time it receives a request over HTTPS, so certificate issuance depends on the domain's DNS already resolving correctly to the server.

1. Access the Wazuh dashboard via a web browser.

    ```
    https://WAZUH_DASHBOARD_DOMAIN
    ```

    Replace `WAZUH_DASHBOARD_DOMAIN` with your domain.

1. Log in using the `admin` username and the password you set for the `INDEXER_PASSWORD` environment variable.

1. Verify that the dashboard loads and displays the overview page.

    ![Accessing the Wazuh dashboard](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/19bf7515-8c84-4b4c-b19f-e10b50eda375.png)

## Generate and View a Security Alert

Deploying a Wazuh agent on the same server that hosts the Wazuh stack lets a single server monitor itself, using the same enrollment flow as a separate endpoint.

1. Click **Deploy new agent** on the Wazuh dashboard.

    ![Deploying a Wazuh agent](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/970a5168-a871-4e8b-a19c-64ef5bcf1e9a.png)

1. Select your operating system and architecture, such as **Linux** with **DEB amd64**.

    ![Selecting an operating system and architecture](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/f63a1c0a-af2d-4c3c-a2b3-0fefe1392303.png)

1. Enter the same domain you use to access the Wazuh dashboard as the server address, and assign a unique name to the Wazuh agent.

    ![Entering the server address](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/fe42357a-8077-4df0-94b1-02fbdd8a721e.png)

1. Copy and run the installation and `systemctl` commands generated by the Wazuh dashboard in your terminal.

    ![Copying installation and systemctl commands](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/b3f60a7b-41dd-4858-af12-f5e7a4b313d4.png)

1. Verify that the Wazuh agent is active.

    ```console
    $ sudo systemctl status wazuh-agent
    ```

    The output shows `Active: active (running)`.

1. Return to the Wazuh dashboard and click **Back to agent list**.

    ![Viewing agent list](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/86af2cb3-8ce4-49d2-9e80-374646bdc3f2.png)

1. Refresh the page. Verify that the Wazuh agent status changes from "Never connected" to **Active**.

    ![Viewing agent in an active state](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/0174d53c-3e9f-4949-bf69-052206b0f24d.png)

1. Simulate failed SSH logins to generate an alert. From another machine, connect several times and enter a wrong password at each prompt. The `PubkeyAuthentication=no` option makes SSH ask for a password even if you normally log in with an SSH key.

    ```console
    $ ssh -o PubkeyAuthentication=no USERNAME@SERVER_PUBLIC_IP
    ```

    Replace `USERNAME` with your username and `SERVER_PUBLIC_IP` with your server's public IP address.

1. Navigate to `https://WAZUH_DASHBOARD_DOMAIN/app/threat-hunting#/` and click the `Events` tab. Replace `WAZUH_DASHBOARD_DOMAIN` with your domain. Enter `rule.groups:authentication_failed` in the search bar to show only the failed login alerts.

    ![Viewing security events](https://lhr1.vultrobjects.com/docs-main-doc-assets-1/2688/590d1525-8b7e-406d-b936-a7e8ba349c16.png)

    Verify that alerts for the failed SSH logins appear, including timestamps, descriptions, rule levels, and rule IDs.

## Conclusion

You have deployed a single-node Wazuh stack using Docker Compose, exposed the Wazuh dashboard through Traefik with a Let's Encrypt certificate, and enrolled a Wazuh agent that generated and reported a security alert. For more configuration options, refer to the [official Wazuh documentation](https://documentation.wazuh.com/current/deployment-options/index.html).
