Error appears when Loggin into Wazuh Dashboard

103 views
Skip to first unread message

Aly Aboulazm

unread,
Mar 19, 2025, 3:16:34 PM3/19/25
to Wazuh | Mailing List
Hi team,
I have an issue where when I log into the Wazuh dashboard this error comes up:
Error: Error Pattern Handler (getPatternList)
    at pattern_handler_PatternHandler.getPatternList (https://1.1.1.1/410101/bundles/plugin/wazuh/wazuh.chunk.2.js:1:2016485)
    at async WzMenu.load (https://1.1.1.1/410101/bundles/plugin/wazuh/wazuh.chunk.2.js:1:2253031)
    at async WzMenu.componentDidUpdate (https://1.1.1.1/410101/bundles/plugin/wazuh/wazuh.chunk.2.js:1:2251777)
This issue came out of nowhere as it was working fine. Please I would like your support in this.

Olusegun Adenrele Oyebo

unread,
Mar 19, 2025, 5:34:21 PM3/19/25
to Wazuh | Mailing List
Hello Aly,

What version of Wazuh are you using?

Also, What OS version is your Wazuh indexer/manager installed on?

Sometimes, Error: Error Pattern Handler (getPatternList) could be due to a resource-related issue on the Wazuh indexer server, and you will need to review and ensure that you have enough resources (RAM, etc). It seems like wazuh-indexer was using most of the JVM heap configured, and the total memory required for all operations was superior to the memory available. Edit the /etc/wazuh-indexer/jvm.options to increase the JVM heap size. The recommended value is half of the system RAM (reference). For example, set the size as follows for a system with 8 GB of RAM (reference):

-Xms4g
-Xmx4g

Where the total heap space:
  • -Xms4g - initial size is set to 4Gb of RAM.
  • -Xmx4g - maximum size is to 4Gb of RAM
Restart the Wazuh indexer and dashboard service service:
  • systemctl daemon-reload
  • systemctl restart wazuh-indexer
  • systemctl restart wazuh-dashboard
If the issue persists, kindly share the full output of the below commands:

Wazuh dashboard:
  • journalctl -u wazuh-dashboard | grep -i -E "error|warn"
Wazuh indexer:
  • cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
Let me know if this resolves your issue.

Best regards.

Aly Aboulazm

unread,
Mar 23, 2025, 10:26:20 AM3/23/25
to Wazuh | Mailing List
I'm using Wazuh version 4.10.1 running in an ubuntu server

Olusegun Adenrele Oyebo

unread,
Mar 24, 2025, 9:26:56 AM3/24/25
to Wazuh | Mailing List
Hello Aly,

Did you try to reconfigure the heap size as recommended in my earlier response?

If you did, and the issue persists, please share the logs as requested earlier, and also the exact version of Ubuntu you're running (cat /etc/os-release).

Will be expecting your feedback.

Best regards.
Reply all
Reply to author
Forward
0 new messages