-
Notifications
You must be signed in to change notification settings - Fork 187
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
Wazuh app doesn't open under custom spaces #1234
Comments
You are right @rossengeorgiev , we've added this to our roadmap and it will be fixed soon, thanks for your feedback. I'll copy here our progress dealing with Kibana spaces. Best regards |
Hi Will this fix allow the Wazuh app to "default" to a specified wazuh-alerts index ? I am investigating the option of multitenancy via spaces , now that some of the security has been released into the basic subscription Or do we still need to run multiple Kibana instances to get this done? (using searchguard) Thanks |
Hi @rhysxevans , I think it will filter index patterns, so it will filter indices too, but it won't disable the index pattern creation menu from Kibana. In any case, we are working on it right now, I'll update this issue with any news into this. Thanks for your patience. Regards |
Related: #1450 |
For refreshing the known fields, we must add a condition for custom spaces. Before: await wzWrapper.updateIndexPatternKnownFields('index-pattern:' + item.id); After: const prefix = item.namespace ? `${item.namespace}:index-pattern:` : 'index-pattern:';
await wzWrapper.updateIndexPatternKnownFields(`${prefix}${item.id}`); |
More news, the Wazuh monitoring pattern under custom spaces is now being created if it's missing (eb1eacf). Right now this is the status for custom spaces:
@rhysxevans you'll have a Wazuh app working under custom spaces soon! In addition, we want to say that we still remember the "multitenancy" question you did, let me continue with the implementation and we'll update you as soon as we can. |
Hi @rhysxevans , Today we've fixed the two timelion visualizations under Management > Cluster for custom spaces -> ace891f We've also fixed the top agent request for Agents preview -> 2ce377c The task is still in progress but I think the next minor version of Wazuh may include it. Regards |
Here d6307eb we propagate the namespace as a field for new monitoring patterns, otherwise, the app would think it doesn't exist and would try to create a new one. |
With 8300144, the reporting module can handle custom namespaces too just adding the proper parameter when |
Current status:
At this point, the task is almost done but a lot of testing is needed. |
Some testing When testing the branch in a development environment, the following error appears. The first time you access the app with a newly created space [awesome] (now in a production environment) the following error appears. (Cannot find index patterns) The monitoring index-pattern is not created automatically. After creating the |
Update testing All tests have been performed with the default .kibana index. Index patterns
API management checks Basic functions in dashboards and overviews (General and Agents) checks (included Filter checks) Management tab checks Agents tab checks |
As you know, 6.x introduced spaces as a way to manage collections of visualization, dashboards, etc. Selecting a custom space, and trying to open the wazuh app yields a blank screen. See screenshot below.
Wazuh 3.7.2 + Kibana 6.5.4
The text was updated successfully, but these errors were encountered: