import and export Dashboard from opendistro do ELK base license

758 views
Skip to first unread message

San Nam

unread,
Jan 29, 2023, 4:46:38 AM1/29/23
to Wazuh mailing list
Hi Team,
i am trying to export the dashboard Wazuh 4.2.7 to Wazuh 4.3.10 + Kibana +Elastic + filebeat version. Can you please guide me how to import the dashboard and visualization via command line. 

How can we get the dashboard id during the export and import. Please advise.

Thanks
San Nam

Ujunwa Okonkwo

unread,
Jan 29, 2023, 2:24:21 PM1/29/23
to Wazuh mailing list
Hi,
Thank you for using Wazuh.

Wazuh provides an easy way of importing and exporting objects such as Dashboards via WebGUI.
To migrate the visualizations and other saved objects from OpenDistro to Dashboard, you will need to go to Stack Management > Saved Objects > Export and then Stack Management > Saved Objects > Import.
With this functionality, you can import all objects within the file, which should include the visualizations and the associated index patterns, so it will work regardless of whether or not this was the installation from where the dashboards were originally exported.


You can also replicate this request using CURL which will return a json object. You can use this to generate a script.
Generate a curl bash script using the steps in the screenshot below;

image.png

Then change --data-raw to --data
With this script, you can modify the parameters to retrieve the data you need from the JSON response.

I hope this is helpful.

Regards,

Ujunwa Okonkwo

unread,
Jan 29, 2023, 2:27:31 PM1/29/23
to Wazuh mailing list
Please see screenshot attached.

Regards,

screenshot.jpeg
Reply all
Reply to author
Forward
0 new messages