Hello friends, I want to clone a dashboard can any one tell how to do it cause i didn’t get any option like that in GUI. And one more thing how to clone widgets from one dashboard to another?
Best regards,
Hello friends, I want to clone a dashboard can any one tell how to do it cause i didn’t get any option like that in GUI. And one more thing how to clone widgets from one dashboard to another?
Best regards,
I think using REST API it will be possible:
How to copy widget to another dashboard:
Get dashboards id (parameter id:)
GET /api/dashboard
Get dashboard, check widget id you want to copy:
GET /api/dashboards/{dashboardId}
Get widget parameters:
GET /api/dashboards/{old_dashboardId}/widgets/{widgetId}
Copy widget parameters, remove row with id:, so api could generate new id for widget:
PUT /api/dashboards/{new_dashboardId}/widgets
Best will be to create script, or you can still use API browser if you want to copy small amount of widgets:
https://docs.graylog.org/en/3.1/pages/configuration/rest_api.html
System - Content packs - Create, select dashboards of your choice and afterwards upload created content pack file on the same system. Don’t forget to install it.