Need to add custom dashboard

637 views
Skip to first unread message

Emrah Uludag

unread,
Apr 3, 2023, 2:31:50 PM4/3/23
to Wazuh mailing list
Hi friends,

i want to make custom dashboard from this screen. Default dashboard only shows one agent. we want to see all agents. Also I wan to make CIS compatibility average dashboard.  Also how can I add panel name center. 

 Thank you.  
2023-04-03 21 27 34.png


moosemaimer

unread,
Apr 4, 2023, 10:10:32 AM4/4/23
to Wazuh mailing list
There isn't really any way to build new dashboards for the vulnerability data because it isn't stored in an index like the alerts, so I wrote a Python script to do approximately that. You have to supply the server IP and login in the Configuration section, and it requires the requests and urllib3 packages be installed.
vuln_dash.py

Nicolas Curioni

unread,
Apr 4, 2023, 11:31:36 AM4/4/23
to Wazuh mailing list

Hello Emrah,

Thanks for sharing your doubts with the community.

This Module worked differently on Wazuh version 4.2. It didn't ask you to select one agent to display its information, but allowed you to display information for all the agents for the VD. Starting on version 4.3, the module was changed, and it works as it does now. This will be changed back in a future version(4.5), but in the meantime, you can use the file I am attaching. It will allow you to import a custom dashboard that works as it did in version 4.2.

The steps to achieve this, are the following:
  • Find attached the file VD_Dashboard.ndjson.
  • Next, we need to import this file. To do so, go to the top left menu ☰, and select Stack Management:
Captura de pantalla 2023-04-04 a la(s) 10 33 28

  • Then, go to Saved Objects:
Captura de pantalla 2023-04-04 a la(s) 10 35 13


  • Once there, click on Import:
Captura de pantalla 2023-04-04 a la(s) 10 36 32

  • Here, you need to click on the Import Box, select the file VD_Dashboard.ndjson, check the option Create new objects with random IDs, and click on Import to finish: 
Captura de pantalla 2023-04-04 a la(s) 10 37 40

Once this process is finished, you will see new Dashboards created:
Captura de pantalla 2023-04-04 a la(s) 10 41 13


You need to click on the Dashboard that you wish, and after this, it will be available at Top left menu ☰ > Dashboard:
Captura de pantalla 2023-04-04 a la(s) 10 42 46

I hope this information would be useful for you.

Best regards.
VD_Dashboard.ndjson

Emrah Uludag

unread,
Apr 5, 2023, 3:16:54 PM4/5/23
to Wazuh mailing list
Dear Nicolas,

Thank you very much for you sharing file.  I imported and it's very usable  for us. If you have other custom dashboards like Mitre or CIS average  you make me happy.

Thanks again. 
Best Regards

4 Nisan 2023 Salı tarihinde saat 18:31:36 UTC+3 itibarıyla Nicolas Curioni şunları yazdı:

Nicolas Curioni

unread,
Apr 10, 2023, 1:28:35 PM4/10/23
to Emrah Uludag, Wazuh mailing list
Hello Emrah, 

I'm glad to hear that this information was helpful. 
In the future, we'll provide repositories where users can contribute with this kind of requests.
Hope this helps.
Best regards. 

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/9767ca65-8a42-4d53-ba62-11bc9826228en%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages