Which dashboard is much better for Wazuh?

1,057 views
Skip to first unread message

ocerna0721

unread,
Sep 7, 2023, 11:45:17 AM9/7/23
to Wazuh | Mailing List
Which dashboard is better that offers freer and quality controls, and please provide what I need to compile the source code and how to do it, along with a guide and which repository to use based on the above. Thank you very much.

Jesus Linares

unread,
Sep 7, 2023, 12:42:58 PM9/7/23
to Wazuh | Mailing List
Hello,

I apologize, but I believe I may not fully understand your question. Could you please provide more details or an example of what you need?

From the interface, you can create visualizations and add them to dashboards. These can also be imported and exported.

If you need to create a new interface, I would recommend exploring OpenSearch Dashboard Plugins (https://opensearch.org/blog/dashboards-plugins-intro/). Here, you can find an example of our plugin at https://github.com/wazuh/wazuh-kibana-app.

I hope this helps!

ocerna0721

unread,
Sep 7, 2023, 12:58:34 PM9/7/23
to Wazuh | Mailing List
Thank you very much for responding. What I'd like to do is compile the Wazuh Kibana dashboard, the one you've sent me from the repository. If you could assist me with a comprehensive guide on how to compile it, I would greatly appreciate it. I've attempted to compile the 'wazuh-kibana-app' repository and encountered errors during the build process. I'm not sure if I should use Yarn or npm or something else. Could you please guide me through this? Your help is much appreciated.

ocerna0721

unread,
Sep 7, 2023, 1:12:56 PM9/7/23
to Wazuh | Mailing List
following the documentation  (Introduction to OpenSearch Dashboard Plugins · OpenSearch
I got the error that the package.json does not exist after doing the Yarn install command, what I want is to compile it and test it, because then I want to do some custom modifications, the compilation part is what is costing me. I already tried two other repositories and I always have compilation problems  GitHub - wazuh/wazuh-dashboard: Wazuh dashboard, the Wazuh UI platform and  GitHub - wazuh/wazuh-security-dashboards-plugin: Fork of OpenSearch Dashboards Security Plugin.i would like to be able to compile the one that you sent me and the last one that I sent you.

Antonio David Gutiérrez

unread,
Sep 11, 2023, 6:31:17 AM9/11/23
to Wazuh | Mailing List
Hi,

I understand you want to do some customizations to the Wazuh plugin for Kibana or Wazuh dashboard whose source code is hosted at https://github.com/wazuh/wazuh-kibana-app and build a package to be installed in your production platform. Currently, the mentioned repository has the source code for plugins compatible with Kibana and Wazuh dashboard. Depending on the platform you should use the compatible branch/tag to apply your customizations and build the plugin.

Building a package of the Wazuh plugin of recent versions requires a development platform (development Kibana for plugins compatible with production Kibana or development OpenSearch Dashboards for plugin compatible with Wazuh dashboard).

The development platform will allow you to build the plugin package and develop the customizations you want to apply to the Wazuh plugin.

Follow the next steps:

1. Identify the branch/tag in the repository that is compatible with the target platform and version where you want to install the customized Wazuh plugin. For example, the tag compatible with the latest version of Wazuh (4.5.2) and Kibana 7.17.12 is called v4.5.2-7.17.12 meanwhile the compatible with Wazuh dashboard 4.5.2 is v4.5.2. See more information about branching at https://github.com/wazuh/wazuh-kibana-app/wiki/About-our-branches-and-tags.

2. Setup the development platform (Kibana or OpenSearch Dashboards depending on your use case): This documentation applies to Kibana: https://github.com/wazuh/wazuh-kibana-app/wiki/Develop-new-features, but if you need for OpenSearch Dashboards, the steps should be similar.
For recent versions, we have a Docker environment that could facilitate to setup of the development environment with the required development Kibana or OpenSearch Dashboards (for plugin compatibles with Wazuh dashboard).
- Development Kibana: see docker/kbn-dev directory.
- Development Wazuh dashboard: docker/osd-dev directory.

My recommendation is to use these environments as possible if you have knowledge about Docker.

3. Apply the customization you want to do to the source code of the Wazuh plugin. Use the compatible branch/tag with the platform (Kibana or Wazuh dashboard), platform version and Wazuh version.

4. Build the package for the customized plugin
cd /path/to/platform_dev/plugins/wazuh
yarn build

where:
- /path/to/platform_dev: path to development platform
- wazuh: name of Wazuh plugin directory added to the development platform

The generated package can be installed in a compatible production platform.
Reply all
Reply to author
Forward
0 new messages