Open TomonoriSoejima opened 1 year ago
id="046212a0-a2a1-11e7-928f-5dbe6f6f5519-ecs"
./filebeat export dashboard -id=$id --folder=$id
# delete the dashboard from Kibana gui if you want.
./filebeat setup --dashboards -E setup.dashboards.directory=$id/_meta/kibana
echo apply workaround
cp -r $id/_meta/kibana/8 $id/_meta/kibana/7
./filebeat setup --dashboards -E setup.dashboards.directory=$id/_meta/kibana
1 setup dashboard
./filebeat setup
make sure filebeat.yml looks like this.
2 find dashboard you want to export
GET kbn:/api/saved_objects/_find?type=search&type=visualization&type=dashboard
3 export and verify
4 delete the dashboard.
DELETE kbn:/api/saved_objects/dashboard/046212a0-a2a1-11e7-928f-5dbe6f6f5519-ecs
5 import the dashboard