Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home overview KPI's link don't work with custom index-pattern #6776

Closed
asteriscos opened this issue Jun 14, 2024 · 1 comment · Fixed by #6777
Closed

Home overview KPI's link don't work with custom index-pattern #6776

asteriscos opened this issue Jun 14, 2024 · 1 comment · Fixed by #6777
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@asteriscos
Copy link
Member

asteriscos commented Jun 14, 2024

Wazuh Rev Browser
4.8.0 12 Chrome, Firefox, Safari

Description

With a custom alerts index pattern, the Overview Home link doesn't work properly. The rule.level seems to apply the default alerts index pattern and throws an error because it doesn't exist.

image

The issue seems to be related to this:
https://github.com/wazuh/wazuh-dashboard-plugins/blob/v4.8.0-2.10.0/plugins/main/public/controllers/overview/components/last-alerts-stat/last-alerts-stat.tsx#L90

@asteriscos asteriscos added type/bug Bug issue level/task Task issue labels Jun 14, 2024
@wazuhci wazuhci moved this to Backlog in Release 4.8.1 Jun 14, 2024
@Desvelao Desvelao self-assigned this Jun 17, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 4.8.1 Jun 17, 2024
@Desvelao
Copy link
Member

Update 2024/06/17

  • Fixed the hardcoded value of an index pattern in a filter on the KPI link
  • Fixed an error when using an index pattern with a different title and id

@Desvelao Desvelao linked a pull request Jun 17, 2024 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.8.1 Jun 17, 2024
@wazuhci wazuhci moved this from Pending review to Pending final review in Release 4.8.1 Jun 17, 2024
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.8.1 Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants