Kibana Spaces & Export Objects

Hi there,
as sysadmin I would like secure and therefore export Kibana related objects locally.
I have 2 questions.

  1. Example: the cluster has 10 spaces. I can go to each space and manually say 'Export n objects'. But is there a way to download all kibana objects for all spaces at once (to have less work)?
  2. Is there an API so that I can accomplish the export objects task via CLI, even better via cron?
    Thank you!

Hi @smm,

There is a saved object API you could use: Saved objects APIs | Kibana Guide [master] | Elastic

Please note, this API is experimental and could be changed in future, but it should work for your case.

I see there is an undocumented namespaces param which you could use to specify a list of spaces or a * to get objects from all the spaces.

Ok - thanks for your insight!

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