API to backup and restore settings from Infrastructure and Metric Explorer apps

Hi,

I have noticed there are settings for the Infrastructure app, particularly in the metric explorer where you can save and load views.

How can we backup and restore these settings, and export them and import via API?

John

Hello,

We have the saved object api in Kibana: https://www.elastic.co/guide/en/kibana/master/saved-objects-api-get.html but it doesn't cover Infra UI objects for now.
In the meantime you could do your own query to the .kibana index and get the document that has the type: infrastructure-ui-source which is where the settings reside. It's a hacky way of doing it, the format might change over time so I can't guarantee it will work forever.

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