Skip to content

TOP 5 Groups Visualization in Agent Summary Dashboard Sorts by Name Instead of Count in Wazuh 4.13.1 #7782

@Hasitha9796

Description

@Hasitha9796
Wazuh version Component
4.13.1 Wazuh server

Issue:

In the Wazuh dashboard under Summary > Agent Summary > Summary (specifically the "TOP 5 Groups" visualization), the bars/pie chart is intended to display and sort the top 5 agent groups by their count (e.g., number of agents in each group), in descending order.

In Wazuh 4.12.0: The visualization correctly sorts groups by count (highest to lowest), providing an accurate "top 5" view.
In Wazuh 4.13.1: The sorting defaults to order by group name, ignoring the count metric. This results in misleading "top" rankings where high-count groups may appear lower in the list.

This appears to be a regression introduced between versions 4.12.0 and 4.13.1, affecting the usability of the dashboard for quick agent group overviews.

Additional details:

Wazuh version 4.12.0

Image

Wazuh version 4.13.1

Image

Another example from a user:
Image

This was reproducible on a clean installation and upgraded to the 4.13.1 version.

Related Issues in Community:
https://github.com/wazuh/community/issues/56912

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions