wazuh-dashboard-plugins
wazuh-dashboard-plugins copied to clipboard
Improve alerts summary performance
Description
This PR changes the way the Alerts Summary tables are created in PDF reports to improve the dashboards loading time. Now the tables configuration is the PDF report folder segregated by modules and the request to obtain the data is made by the backend of the app instead of the frontend. This avoids unnecessary loading times when the user does not use the reporting feature.
Closes https://github.com/wazuh/wazuh-kibana-app/issues/3812
issue: There are some hidden visualizations in the dashboards, we should remove them.
Needs performance comparative
TR: :heavy_check_mark: LGTM Screencast from 07-09-22 09:25:09.webm
The backport to 4.4-1.2-wzd
failed:
The process '/usr/bin/git' failed with exit code 1
To backport manually, run these commands in your terminal:
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.4-1.2-wzd 4.4-1.2-wzd
# Navigate to the new working tree
cd .worktrees/backport-4.4-1.2-wzd
# Create a new branch
git switch --create backport-4376-to-4.4-1.2-wzd
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 395fb8a485e8bcac6f96a4fbc8dd07100f7dc2c7
# Push it to GitHub
git push --set-upstream origin backport-4376-to-4.4-1.2-wzd
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-1.2-wzd
Then, create a pull request where the base
branch is 4.4-1.2-wzd
and the compare
/head
branch is backport-4376-to-4.4-1.2-wzd
.