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

Index pattern selector not displayed #3579

Open
MauGaP opened this issue Aug 24, 2021 · 1 comment · May be fixed by #3598
Open

Index pattern selector not displayed #3579

MauGaP opened this issue Aug 24, 2021 · 1 comment · May be fixed by #3598
Assignees
Labels
type/bug Bug issue

Comments

@MauGaP
Copy link
Contributor

MauGaP commented Aug 24, 2021

Wazuh Elastic Rev Security
4.2.0 7.11.2 4201 Xpack
Browser
Chrome, Firefox, Safari, etc

Description
When having more than one index pattern, the index pattern selector is not displayed in the Menu

Preconditions
Having more than one index pattern

Steps to reproduce
1- enter the application
2- open the Wazuh Kibana app main menu

Expected Result
The index pattern selector should be displayed

Actual Result
The index pattern selector is not displayed

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here. Here you can paste log entries too or any other useful information that may help with the issue.

@mpRegalado
Copy link
Member

The wazuh menu currently checks for an index pattern list on mount and whenever the menu opens.
It does not have any information it can access to trigger a re-render and show the menu without meeting one of the previous conditions, since the available index patterns are not tied to a prop or a global state it can subscribe to, but rather are the result of an API call.

We should make the health check create a global variable that contains the list of index patterns and pass it to the menu as a prop, probably using the redux provider. For this reason im upgrading the estimate of this task to a 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants