Kibana Saved objects


Currently Im using below to export dashbaords

curl -X POST "localhost:5601/api/saved_objects/_export" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
"type": "dashboard"
}' > /tmp/dashboard.ndjson 2>/dev/null

But I need another script to export specific dashboards. I have list a dashboards. I need to export all except those in that list. Put it simple I need a query string in export to filter out few objects

Is it possible in Kibana 7.10.2?

You would have to string two APIs together - finding saved objects using Find objects API | Kibana Guide [7.13] | Elastic , then exporting them using Export objects API | Kibana Guide [7.13] | Elastic , listing all found objects from the first call.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.